fix: properly record last_tev in gesturedetector