app:dock:: fix tray icon cannot be clicked.

passing the wrong window.
res:dock:: fix mouse hover problem.

the mouseover is still working when contextmenu is shown.

reason:
maybe menu is no grab mouse.