Fix bug with automatically switching sliders