image-pinch bugfix