iOS: Prevent runtime warning when glfmSetUserInterfaceOrientation is called before view is visible.