Issue #5704: Fix bug about UISlider