Attempt to fix bad touch device recognition.

See https://github.com/DmitryBaranovskiy/raphael/issues/679 and
https://github.com/DmitryBaranovskiy/raphael/issues/720