Fix layer selection and point translation for mouse events

Select the topmost layer at a given point to send mouse events and when
sending the event, ensure that they are relative to the layer origin,
rather than in absolute page coordinates.

Fixes #3504.
I guess my point was that this can just be `point`, since it uses `LayerPixel` and always paired with a `layer` field.