Can this animation be fixed? (attached)

I wonder if the attached animation can be fixed and how.
This is an imported fbx animation which looks nice and all. The problem is that somehow the origin is included into the animation… I’m not sure I can explain it right. Instead of the pelvis moving relatively to the origin, the origin moves and the pelvis stays at 0,0,0 position. For this reason there is no constans rest pose and possibly that’s the reason I failed to do proper retargeting…

Any help would be appreciated.

anim.blend (1.87 MB)