Minor fix in Slider.