Orientation controller fix for iOS