fixed bug involving holding down window mode toggle key