Fixes issue with uncropped images