iOS: Fix the issue when the app crashes if Ogre's orientation mode is disabled and the screen is touched