Derp. Make sure the auto-check for focus won't unpause the game just because it's in focus.