G key is for switching from last shoot position to the ship and viceversa.
Problem occurs when you shoot while you are moving lines, the impact falls far from guidelines, the reference is not in line with your guidelines and the "G" key switch doesn't work properly.
A fix for this would be only register the blue impact circles when the shells hit near the guidelines.
Recommend if you like.