fix issue where range slider preview width gets reduced each render