Changed from +[XBGLEngine sharedInstance] to +[XBGLEngine sharedEngine]