Fix bug on slider controls