That's what I was thinking also. The gimbal calibration needs a good level calibration first from the H's flight controller,If you haven't already try accelerometer calibration first then the gimbal. Of course all on level surface.
Bill W.
If it still leans, then you have to fix it in post. BTDT.