Capture mouse position at time of event creation rather than at time of event processing