FIxed a bug where sliders weren't initialized to a valid range