Fix image cropping