Index: applications/editors/josm/plugins/CommandLine/src/org/openstreetmap/josm/plugins/commandline/PointAction.java
===================================================================
--- applications/editors/josm/plugins/CommandLine/src/org/openstreetmap/josm/plugins/commandline/PointAction.java	(revision 35209)
+++ applications/editors/josm/plugins/CommandLine/src/org/openstreetmap/josm/plugins/commandline/PointAction.java	(revision 35210)
@@ -72,5 +72,6 @@
     }
 
-    @Override public void mousePressed(MouseEvent e) {
+    @Override
+    public void mousePressed(MouseEvent e) {
         if (e.getButton() == MouseEvent.BUTTON1) {
             if (isCtrlDown) {
@@ -80,13 +81,12 @@
                 }
             } else {
-                LatLon coor;
-                if (nearestNode == null)
-                    coor = MainApplication.getMap().mapView.getLatLon(e.getX(), e.getY());
-                else
-                    coor = nearestNode.getCoor();
-                if (coor.isOutSideWorld()) {
+                Node node = nearestNode;
+                if (node == null)
+                    node = new Node(MainApplication.getMap().mapView.getEastNorth(e.getX(), e.getY()));
+                if (node.isOutSideWorld()) {
                     JOptionPane.showMessageDialog(MainApplication.getMainFrame(), tr("Can not draw outside of the world."));
                     return;
                 }
+                LatLon coor = node.getCoor();
                 String point = String.valueOf(coor.getX()) + "," + String.valueOf(coor.getY());
                 int maxInstances = parentPlugin.currentCommand.parameters.get(parentPlugin.currentCommand.currentParameterNum).maxInstances;
