Root motion only works on root bone (hence root motion)
Looking at the screenshot you posted, its not the root bone moving, but one bone below it. Check your bone hierarchy.
Don’t know from where you got the animation, but for example blender default export makes a new “bone” on top of your hierarchy, which is the armature object itself. It’s stupid, and ■■■■■ up the whole root motion, but that’s a thing. If you rename your armature to “armature” before exporting, UE4 ignores that bone, and your hierarchy remains intact