Clicking on widget triggers it's On Mouse Leave Event

The problem is, when I click inside widget, then move mouse out and then release a button, OnMouseLeave event is not triggered and my mouse input remains blocked