[cocos2d] Fix the Is* properties for CCLayer