[TextEditor] Don't hide tooltip windows if they are the active window

On Windows, debugger tooltip windows gain focus because they are
user-interactive which causes the TextArea to lose focus, and
when that happens, the old logic would hide the tooltip.

Don't do that.

Should fix bug #11155
[Debugger] Another attempt at fixing debugger tooltips on Windows

Hopefully this fixes bug #11155