Fixed lightbox recursion error for vclick and touchstart events