fix case when mouse leaves canvas