bugfix for tooltips reappearing in macosx backend

Addresses issue #3746 by bringing to the front of the display only windows which were already visible when `show` is called. This eliminates the possibility of accidentally raising other hidden windows like `NSToolTipPanel`.