Bug fix in resolution shift, good initial focus value in calibration