Resize image upon loading an xbin or ansi.