the animation of shooting while mixing with the animation of walking is not correct

There is an animation of shooting while walking, the character stops for a split second, I decided this by mixing animations of walking and shooting
But when the animations are mixed and the character goes to the right or left, the shooting animation jerks to the right at the time of shooting and it doesn’t look very good. How can I fix this?