Added workaround for UIWindow fading through black during orientation rotation.