updating cocos2d lib after changing run loop to NSRunLoopCommonModes