Go to [Mi Home] APP >> select the device >> tap the [...] at the upper right corner >> [Camera Settings] >> [PTZ Calibration], and wait for the device to calibrate successfully.
You can do this when the lens can’t return itself, or the lens surveillance angle cannot be adjusted accurately.