Fixed orientation issue in iOS 5