fix tooltip bug

fix a bug that tooltip do not deactive on mouse leave.