Dismiss mouse events on canvas