diff --git a/flatland/utils/graphics_pil.py b/flatland/utils/graphics_pil.py
index 4019bb6d913a3bab1b57a9346c1196d634d18c1c..e14e42b7235fb7c0655253d74968cd74ac24b1dd 100644
--- a/flatland/utils/graphics_pil.py
+++ b/flatland/utils/graphics_pil.py
@@ -433,6 +433,8 @@ class PILSVG(PILGL):
                         if (col + row) % 10 > 2:
                             pilTrack = self.dScenery[0]
                         else:
+                            if (col + row + col * row) % 2 == 0:
+                                a = (a + (col + row + col * row)) % len(self.dBuildings)
                             pilTrack = self.dBuildings[a]
                     elif (self.background_grid[col][row] > 5) or ((col ** 3 + row ** 2 + col * row) % 10 == 0):
                         a = int(self.background_grid[col][row]) - 5