Clean up image resizing