Fix gesture_detect_mock