Servo Gimbal Pitch undercorrection

Hi Guys

I have a servo gimbal (3 axis) connected to main outs 1,2,3. (Motors on AUX1,2,3,4). The gimbal works fine.

The Flight controller is a pixhawk 2.4.8.

The roll axis is stabilized perfectly, and the camera stays level.

But, the pitch servo, which moves full range when trimmed with the pot, doesn’t correct fully. It responds to pitch changes, but doesn’t move much. This results in visible changes.

How to fix this since this is not a hardware problem.

Thank You

For the record: I adjusted the endpoints in mission planner and eventually got correction.