res:dock:: fix tray icons problem.

the tray icons won't be shown on the panel is unfolded.

reason:
the on_mouseover method will exit if the panel is unfolded, which leads to the
tray icons won't be shown.