Compositor ready&render states multiple pipelines
With multiple pipelines, the compositor render and ready states are set
per pipeline. This fixes the problem with iframes, where the compositor
didnt wait for the child pipeline to finish rendering before compositing
the window.