reduced valid cursor distance to fix some false detections