Fix #517 tooltip issue

Tooltip remains visible when loosing mouse focus by a popup opening directly on top of the browser (where the cursor is positioned)