Added a quickfix for out of focus window
Created by: madppiper
This works as a quickfix, but is perhaps not the most elegant solution. We may also want to manually remove the window listener on dispose(), in which case we should move both the windowListener and the projectParentWindow to private attributes.
https://github.com/sourcegraph/sourcegraph/issues/37322