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
Fixed: the way to add the tooltip's window is wrong

Previously when adding a tooltip, we added it to the platformWindow.
Now we add id to the window of the targeted view.

Fixed #2110