translational correction based on image dimensions