diff --git a/modules/gui/pymod/dng/menu.py b/modules/gui/pymod/dng/menu.py
index 59e3e15f13d0ded4577fb42a24f09dab1011ac8f..976068626f8f58819e1991af3ae143241a3960da 100644
--- a/modules/gui/pymod/dng/menu.py
+++ b/modules/gui/pymod/dng/menu.py
@@ -192,10 +192,10 @@ class SceneMenu(QMenu):
     sd = superpositiondialog.SuperpositionDialog(gfx_ent_1, gfx_ent_2)
     if sd.rmsd != None:
       if sd.reference == 0:
-        gfx_ent_1.UpdatePositions()
+        gfx_ent_2.UpdatePositions()
         gfx.Scene().CenterOn(gfx_ent_1)
       else:
-        gfx_ent_2.UpdatePositions()
+        gfx_ent_1.UpdatePositions()
         gfx.Scene().CenterOn(gfx_ent_2)
       LogScript('RMSD: %.3f'%sd.rmsd)