Rig moves when switching action in action editor I can't seem to get around this problem.

I have multiple animations in the same file and when I switch actions in the action editor the rig moves, but gets back into place as soon as I edit anything.

I wouldn't think to much of it, but when i export the animation in Unreal my frame 0 doesn't represent the actual frame 0 I have in blender for that animation and seems affected by that same weird bug.

Frame 0 in blender:


Frame 0 after switching action:

frame 0 in Unreal 4
Alright so I tried fixing this issue by myself and found a work around, I had to delete all other actions from the file and now on export there was not this weird influence on the first frame. Not the most convenient fix, but a fix nonetheless :P.