Fixes for recent Cocos API renames