Restrict FPS when game isn't in focus