Changed Cocos behavior for setAnchorPoint and setContentSize so that you can override the JS functions.