I have a similar keyboard problem. With relative frequency the focus is stolen from a text input box to the top level. Usually this is just an annoyance, but sometimes it happens right as I'm typing an "m" (which results in me accidentally muting a conversation) or an "e" (which results in me accidentally archiving a conversation).
I've noticed this too. It feels a lot like hitting the touchpad by mistake, except I don't use a touchpad. The focus is just lost mid-typing and a bunch of shortcuts get triggered.