Issue #5096: refactor setVisible and cc.ClippingNode

refactor setVisible and cc.ClippingNode