I believe you just need to check “Force Root Lock” on your source animation before retargeting
Once you retargeted an animation, I think the root motion setting is baked it, meaning the same panel above does nothing
I had the same issue today, and just tried everything randomly, not sure if this is THE solution, it just worked for me. GL