Index: trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java	(revision 11758)
+++ trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java	(revision 11759)
@@ -443,11 +443,11 @@
         if (!r.isDisabled() && !multipolygon.getOuterWays().isEmpty()) {
             for (PolyData pd : multipolygon.getCombinedPolygons()) {
+                if (!isAreaVisible(pd.get())) {
+                    continue;
+                }
                 MapViewPath p = new MapViewPath(mapState);
                 p.appendFromEastNorth(pd.get());
                 p.setWindingRule(Path2D.WIND_EVEN_ODD);
                 Path2D.Double pfClip = null;
-                if (!isAreaVisible(p)) {
-                    continue;
-                }
                 if (extent != null) {
                     if (!usePartialFill(pd.getAreaAndPerimeter(null), extent, extentThreshold)) {
