fix mousemove event issue on firefox