Add a custom hook OnMouseUpDuringPan so that we can catch this event (during a pan via the graph toolbar)