Does enabling root motion changes location of root to centre of the mesh?

I am trying to animate a character by rotating its root. I am using blender and the root of the character is in between the two feet.
However, i have noticed that when i enable root motion in UE4, the animation plays out very differently because the origin of rotation has been moved to the centre of the mesh.

Are there any solutions so that the origin of rotation does not change even if i enable root motion?