Fix broken download pieces for resizing images