Desired cimb rate decreasing in loiter mode

When the copter shift to loiter mode without SBUS RC(PIXhawk4) the altitude drops abruptly…

This phenomenon does not happen when the radio is connected or the joystick overrides the RC inputs.

Are there any parameters or firmware changes I can make to resolve this issue?