Implemented a claim_mouse_events attribute on widgets.