Erratic keyframe parameter height zoom function

I’m not sure if this is only happening to me.

I made a pull request for a fix in case this is happening to everyone, and it seems to be working.

Tested on Windows.
Tested on v21.10.31.