Calculate hitbox based on visible bounds in `{Mouse}EventHandler`

This is in contrast to not dispatching the event altogether in `Flex` when
the event is not contained in the flex element bounds. That approach was
problematic because it didn't give an opportunity to `MouseEventHandler`s
to handle mouse move events when they didn't intersect with the element bounds,
causing elements to never clear their hover state, cursor style, etc.
b396909035Antonio Scandurra committed on 4/7/2022, 1:12:09 PMparent73f2fd6
3 files changedLine totals unavailable