Fixed image cropping.