Index: applications/editors/josm/plugins/osmarender/src/OsmarenderPlugin.java
===================================================================
--- applications/editors/josm/plugins/osmarender/src/OsmarenderPlugin.java	(revision 16163)
+++ applications/editors/josm/plugins/osmarender/src/OsmarenderPlugin.java	(revision 16623)
@@ -52,7 +52,7 @@
             }
 
-            CollectBackReferencesVisitor backRefsV = new CollectBackReferencesVisitor(Main.ds, true);
+            CollectBackReferencesVisitor backRefsV = new CollectBackReferencesVisitor(Main.main.getCurrentDataSet(), true);
             DataSet fromDataSet = new DataSet();
-            for (Node n : Main.ds.nodes) {
+            for (Node n : Main.main.getCurrentDataSet().nodes) {
                 if (n.deleted || n.incomplete) continue;
                 if (n.getCoor().isWithin(b)) {
