The problem seems related to terrain height. You can see the terrain is adjusted after you place the building. It doesn’t look like it should give any issues though.
It’s not a real fix, but if you raise the road slightly it sometimes connects where it didn’t connect before.