Fix dem cropping.