If the provided event is a touch event, use the first item in the targetTouches array for the coordinates.