Resize fix for swapping images

* Made swapping between images a special case so that it can force the resizing.