Fix a bug in RoadGeneratorHelper::canSnapToVertex()

Add the check for the intersecting.