cocos2d: fix another typo and fix 3 deprectaed calls