I have a problem with char landing on spherical surface after jump

So did some custom gravity for different type of shapes, and problem is when there is a curvature, like on spherical body, doesn’t matter how big or small the body is. Char can move normally, camera works etc, but problem since 5.6+ that I have is landing, whenever I jump, when char is close to landing it stays in fall animation as long as it’s moving.

So if I jump, and hold down any of move buttons, char will stay in fall animation (and won’t be able to jump) until I let go move button.
If I jump, and while in air I let go move buttons, char will land normally.

Here is short video of what is happening:

Here is another video, so on flat surfaces it’s working, but on spherical surfaces whenever I jump and try to land, if I hold any of the movement keys, char will stay in fall animation.