Fix bug Xcode 6 GLAppDelegate