fix of shift image visualization when using keyboard cropping