Irregularity with my raycast when moving

I put together a line renderer / ray cast system following along to an official Unity tutorial. Everything is great until I start picking up speed when strafing.

The laser properly fires from the barrel but when I’m moving / changing directions at peak speed the cast randomly looks like it’s shooting from the center of the screen.

No, it is not shooting from the center of the screen. it is shooting from where it should be shooting. but it stays exact same position after shooting. that cause this weird look.
you can change your line renderers first point every frame to cope it with players movement.