additional minor bug if the window loses focus when there's a dialogue (item pick up etc) open, upon the window regaining focus the dialogue can't be closed