Hack for iOS 8 rotation