Refactor, fixed paint in horizontal range slider.