Reused Avatar moves mesh

I have a humanoid avatar and it’s animation controller. I also have two different human meshes, they’re quite similar.

When I use the generic avatar and it’s controller in the animator the meshes shot out into the sky and perform their animation correctly.

The animations run normal they just move in weird directions and don’t stay in their original locations.

How to fix it so the mesh doesn’t move far away and retain original position?