diff --git a/flatland/utils/graphics_pil.py b/flatland/utils/graphics_pil.py
index 7bfc67c1a2f19c31a73a5c41dde0c8645649ed60..b857af242d227dbde4803bfef667f6a6c7fe61b1 100644
--- a/flatland/utils/graphics_pil.py
+++ b/flatland/utils/graphics_pil.py
@@ -276,7 +276,7 @@ class PILSVG(PILGL):
 
 
     def loadBuildingSVGs(self):
-        dBuildingFiles = {
+        dBuildingFiles = [
             "Buildings/Bank.svg",
             "Buildings/Bar.svg",
             "Buildings/Fabrik_A.svg",
@@ -295,7 +295,7 @@ class PILSVG(PILGL):
             "Buildings/Post.svg",
             "Buildings/Supermarkt.svg",
             "Buildings/Tankstelle.svg",
-            "Buildings/Wohnhaus.svg"}
+            "Buildings/Wohnhaus.svg"]
 
         self.dBuildings = []
         for sFile in dBuildingFiles:
@@ -303,7 +303,7 @@ class PILSVG(PILGL):
             self.dBuildings.append(img)
 
     def loadScenerySVGs(self):
-        dSceneryFiles = {
+        dSceneryFiles = [
             "Scenery/Bergwelt_A_Teil_1_links.svg",
             "Scenery/Bergwelt_A_Teil_2_mitte.svg",
             "Scenery/Bergwelt_A_Teil_3_rechts.svg",
@@ -315,7 +315,7 @@ class PILSVG(PILGL):
             "Scenery/Laubbaume_C.svg",
             "Scenery/Nadelbaume_A.svg",
             "Scenery/Nadelbaume_B.svg",
-        }
+        ]
         self.dScenery = []
         for sFile in dSceneryFiles:
             img = self.pilFromSvgFile('svg',sFile)
diff --git a/flatland/utils/rendertools.py b/flatland/utils/rendertools.py
index df0ca8a5a83bf52328ec7d1cd9b66e01d7f8ab7a..937580f4469aec68942f04dbaadf50b5ee2f40bb 100644
--- a/flatland/utils/rendertools.py
+++ b/flatland/utils/rendertools.py
@@ -658,6 +658,8 @@ class RenderTool(object):
 
                     self.gl.setRailAt(r, c, binTrans, iTarget=target, isSelected=isSelected)
 
+            self.gl.build_background_map(dTargets)
+
         for iAgent, agent in enumerate(self.env.agents):
 
             if agent is None: