Fix parameters to match cocos2d-x