Initialize snappedToVertex_