Fixed bug in sliders sample.