Resize image upon loading an xbin or ansi.
Fix shaded palette selection bug on HiDPI screens.