fix embedding rendering when using a child window …
compositing must be initialized automatically in this case