Fixed: CPToolTip still shown when closing window asynchronous …

When closing a windows asynchronous, the tooltip of views of the window could stay shown.
Fixed #2110