Work around Ubuntu sending spurious window activation messages
If the user paused the game with 'p', they'll unpause the game. And if the user is in a menu, they will advance the game in the background by one frame. Both effects are also undesirable for real legitimate window activation events.