Whenever Actor is attached to socket, Pawn can not move

In my 3d sidescroller game, I have a pistol static mesh. I added it to a blueprint class, of course. Whenever I attach it to the Gun holder socket, my pawn will glitch when it moves right or left. If I switch it to the back socket, it will be fixed. Is there any way for me to make it so it will work?

247781-capture.png

Does the glitching happen if the character is animated like it’s got the gun equipped, even if you DON’T attach the gun to his hand? If so, the attach isn’t the problem, it’s the animation.

If it happens regardless, then I’m not sure. Maybe turn off the pistol collision if it has any, just in case. I don’t think it should have its own collision when attached but I know very little about attach, so maybe.