This issue happens to me as well, it happens across razer keyboards that I've owned. I've looked into keybindings, and it only happens when any keys on the keyboard are bound to the media back and forward, or it will happen when the default unbound media keys are used. Oddly enough, if media back and forwards are assigned to a mouse, they do not have this effect in game, so only when there are media keys set on a keyboard do these problems happen.
This issue happens to me as well, it happens across razer keyboards that I've owned. I've looked into keybindings, and it only happens when any keys on the keyboard are bound to the media back and forward, or it will happen when the default unbound media keys are used. Oddly enough, if media back and forwards are assigned to a mouse, they do not have this effect in game, so only when there are media keys set on a keyboard do these problems happen.