Handle window occlusion, if supported by renderer.