fixed faulty dynamic range cropping