Fix bug in setting _windowed_mouse