I'm on Windows 10, and I'm not sure if this is an issue elsewhere but sometimes mafia has a popup box appear for one reason or another.
This is normally fine, but sometimes I'm typing in CLI or mafia's chat or sometimes I'm not even using mafia as my active window and I'm typing in another...