fix bugs when mouse move out of browser on computer