Issue #5704: Fix bug about UISlider
Merge pull request #2011 from VisualSJ/Iss5704_CCUIPreformance

Issue #5704: Fix bug about UISlider