Fixed exception in HSlider