TF03 problem during terrain following in auto mode

I use TF03 as a range finder. It almost works fine during terrain following in auto mode but sometimes my copter descends suddenly and again comes back to the normal. Please visit my video and the log file. I do appreciate any help or comments to remove this annoying problem ( my flight controller is Pixhawk 2.4.8).
logfile:
https://drive.google.com/file/d/1EY-RD87_8-hhQf5ds3TYNa-w6NG4gSZW/view?usp=sharing
video:
https://drive.google.com/file/d/1agyCDXEEDhTG1e3lnW1a7V-y-hHQ3AWz/view?usp=sharing