fixes #35 - Focus lost when restarting Server