Fixed window rotation on iOS 8 by converting the frame to the fixed coordinate space.