Index: /trunk/src/org/openstreetmap/josm/gui/MapView.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/gui/MapView.java	(revision 1917)
+++ /trunk/src/org/openstreetmap/josm/gui/MapView.java	(revision 1918)
@@ -312,5 +312,5 @@
             }
         }
-        if (activeLayer != null) {
+        if (activeLayer != null && activeLayer.isVisible()) {
             activeLayer.paint(tempG, this);
         }
