fix focus loss bug (event watchers are gone after focus is lost)