Use local coordinates for mouse event points

The points in mouse events now refer to the location of the mouse from
the top-left corner of the source component. This may produce some
unexpected behaviour with event bubbling.