fixed wrong calibration when using zoom