Detect if window has focus + isn't minimized or such. Effectively this changes the sensitivity back to default when you minimize the game :)