Fix #10297: compare tree event time with only mouse press time.
Merge pull request #808 from mtbc/trac-10297

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