Fixes bugs on cocos2dx 2.x