dont record keyboard/mouse moves when the window is inactive