CharacterController floating/climbing box colliders after animation finishes.

Not sure how to describe it but after using my attack animation, I’m able to “climb above” the enemy with a huge box collider when my animation finishes. I’ve tried removing the animations its transitioning into but the problem still occurs.

Also tried:
Manually adjusting the character controller position to match the animation’s position but this made it worse.
Removed the root Z changes and left it at 0 throughout the whole animation.

This is not specific to one animation but all of my attack animations. I would like to keep the root z transform which moves my character forward during the animation if possible.

Attached image for reference