Screencast requests will be rejected until the window is ready for painting.
This change makes sure that the task manager doesn't ask for a thumbnail too early. It fixes task manager tooltips having blank thumbnails sometimes.