Index: /trunk/src/org/openstreetmap/josm/gui/dialogs/relation/TagTable.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/gui/dialogs/relation/TagTable.java	(revision 1780)
+++ /trunk/src/org/openstreetmap/josm/gui/dialogs/relation/TagTable.java	(revision 1781)
@@ -5,4 +5,5 @@
 
 import java.awt.AWTException;
+import java.awt.MouseInfo;
 import java.awt.Point;
 import java.awt.Rectangle;
@@ -428,5 +429,5 @@
         Point p = new Point(r.x + r.width/2, r.y + r.height/2);
         SwingUtilities.convertPointToScreen(p, this);
-        // logger.info("simulating mouse click event at point " + p.toString());
+        Point before = MouseInfo.getPointerInfo().getLocation();
 
         try {
@@ -435,4 +436,5 @@
             robot.mousePress(InputEvent.BUTTON1_MASK);
             robot.mouseRelease(InputEvent.BUTTON1_MASK);
+            robot.mouseMove(before.x, before.y);
         } catch(AWTException e) {
             logger.log(Level.SEVERE, "failed to simulate mouse click event at (" + r.x + "," + r.y + "). Exception: " + e.toString());
