diff --git a/src/Greenshot.Editor/Drawing/Surface.cs b/src/Greenshot.Editor/Drawing/Surface.cs index 6d47a67a6..fdb3771ec 100644 --- a/src/Greenshot.Editor/Drawing/Surface.cs +++ b/src/Greenshot.Editor/Drawing/Surface.cs @@ -1769,12 +1769,16 @@ namespace Greenshot.Editor.Drawing int verticalCorrection = targetClipRectangle.Top % (int) _zoomFactor.Numerator; if (horizontalCorrection != 0) { - targetClipRectangle = targetClipRectangle.ChangeX(-horizontalCorrection).ChangeWidth(horizontalCorrection); + targetClipRectangle = targetClipRectangle + .ChangeX(targetClipRectangle.X - horizontalCorrection) + .ChangeWidth(targetClipRectangle.X + horizontalCorrection); } if (verticalCorrection != 0) { - targetClipRectangle = targetClipRectangle.ChangeY(-verticalCorrection).ChangeHeight(verticalCorrection); + targetClipRectangle = targetClipRectangle + .ChangeY(targetClipRectangle.Y - verticalCorrection) + .ChangeHeight(targetClipRectangle.Y + verticalCorrection); } }