Updates cocos2d repo and improves the stop fix

Updates cocos2d repo and improves the stop fix