fix if no height is set in model. Allow for cropping