Player character moving unpredictably while jumping and holding S after an animation is played

What happens
I made an animation in Moon Animator and after the animation was played the character started moving to the side if you’re jumping and holding S.

This happens during gameplay and studio testing.
The bug started happening on August 7th. It took me a while to find the cause of this bug in my game so it might’ve been before August 7th.
It happens very frequently 1/2 or 1/3 times when playing this animation

What I’ve tried
I’ve reuploaded this animation and the bug still occurs.
I changed the RootPriority of the HumanoidRootPart and that fixes the issue but it occurs again when the animation is played again.


Here is the video of the bug. It happened the second time the animation was played on the character. I’m only holding down jump and S in the video.

Repro
AnimationBugRepro.rbxl (74.2 KB)

The Repro file has an animation rig with the bugged animation in the default Roblox animation editor and a local script that plays the animation when the character spawns. From my testing, the bug will still happen even if the animation isn’t made in Moon Animator.

Specs
Windows 10
AMD Ryzen 5 5600X
16 GB Memory
NVDIA GeForce RTX 3060

Expected behavior

You should move backward without shifting to the side when holding jump and S.