fix issue where longpressing caused `tap` to fire twice