Fixes #413.
Merge pull request #419 from Dunbaratu/fixes-413-focus-nametag-window

Fixes #413.