Fixed bug with image and slider when going from settings to painScale