Fix for iPad, where el.tagName was undefined when clicking on labels.