Modify ui::Button, ui::Slider and ui::CheckBox 

This PR fix issue https://github.com/cocos2d/cocos2d-x/issues/9506