I get that same problem zapper, though more often it is L opening the chat log while I am typing with the chat window open. It must be a spike in ping making the server see your input of "L" (or G in your case) but skipping the packet of information saying "this guy is typing a message."
Probably not something that can be fixed. Rarely happens, but it's annoying when it does!