Fixing CCMenu's Z ordering

Implementing this issue: https://github.com/cocos2d/cocos2d-x/issues/3089