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