Fix bug that kept event capture on the field on touch devices