Instead of pulling out a camera, a man stopped a criminal that was attacking children