Projectile recoil

Creating a 1st person shooter on rails. Problem is if you shoot too many times in one direction the player pawn is actually forced off the “rails” by the recoil of the projectile. Any thoughts how to prevent this? I am using “add actor world offset” to create a “rail” effect.
Thanks