Fix initial landscape mode for iOS 6+.