Fixing orientation for iOS 6.