Made cropping work