Prevent error when touches is undefined.