Fixing debug for cropping