Fix some bugs in GenericRoadGenerator.