Issue importing Mixamo animations using UE4 skeleton

So I exported the UE4 skeleton to Mixamo and downloaded some animations. It seemed perfect there.

However, when I downloaded and imported it, the animation looks messed up, eg: the legs are floating around unlike in the working animation.