Bug fix for cases when touch does not work because touches is not defined on jQuery event

For cases when event is actually jQuery event touches array would be defined on event.originalEvent instead of just event. function touchFix() is adjusted to be aware of such cases.