Fix #10297: compare tree event time with only mouse press time.

Fixes https://trac.openmicroscopy.org.uk/ome/ticket/10297

Test on both Mac and Windows.