Fixed bug in ImageResize that caused images not to be resized. *sigh*