slider: fix dpi issue on image