make it so mouse only shows in game/window capture when it is the foreground window