Fixed bug where, when resizing multiple images, the source images were being mixed up.