How stop Robot drifting down during high hang

We have a robot running 2 motors on 1 shaft to high hang using the controller’s L button. Our problem is that the robot wants to drift down, so we have to keep pulsing the L button to get it to stay up.
Other teams get theirs to “lock” at the high hang so they can put their controller down before the end of the match.
Any suggestions?

Which programming language? You can set the motors to holding mode.

We use Modkit … is putting it on hold something we can do during drive time that also affect when we use arm for stacking hubs?