diff --git a/AutoscoperM/AutoscoperM.py b/AutoscoperM/AutoscoperM.py
index f3c2c61..2a54e25 100644
--- a/AutoscoperM/AutoscoperM.py
+++ b/AutoscoperM/AutoscoperM.py
@@ -1510,11 +1510,10 @@ def createAndAddSlicer2AutoscoperTransformNode(
slicer2autoscoper = vtk.vtkMatrix4x4()
slicer2autoscoper.Identity()
- # Rotation matrix for a 180 x-axis rotation
- slicer2autoscoper.SetElement(1, 1, -slicer2autoscoper.GetElement(1, 1))
- slicer2autoscoper.SetElement(1, 2, -slicer2autoscoper.GetElement(1, 2))
+ # Rotation matrix for a 180 y-axis rotation
+ slicer2autoscoper.SetElement(0, 0, -slicer2autoscoper.GetElement(0, 0))
slicer2autoscoper.SetElement(2, 2, -slicer2autoscoper.GetElement(2, 2))
- slicer2autoscoper.SetElement(0, 3, -volSize[0]) # Offset -X
+ slicer2autoscoper.SetElement(1, 3, -volSize[1]) # Offset -Y
slicer2autoscoperNode = slicer.mrmlScene.AddNewNodeByClass("vtkMRMLLinearTransformNode")
slicer2autoscoperNode.SetMatrixTransformToParent(slicer2autoscoper)
diff --git a/AutoscoperM/Resources/UI/AutoscoperM.ui b/AutoscoperM/Resources/UI/AutoscoperM.ui
index 9ec9f77..2cc142c 100644
--- a/AutoscoperM/Resources/UI/AutoscoperM.ui
+++ b/AutoscoperM/Resources/UI/AutoscoperM.ui
@@ -727,7 +727,7 @@
Flip Y
- true
+ false
@@ -764,7 +764,7 @@
Flip X
- true
+ false