Fix movement of end slider when scaling