Fixed a Control/Slider going out of range issue