bug fix: mark mouse event as consume after a 'delete' event