diff --git a/magnifier/x11/gmag-compositor.c b/magnifier/x11/gmag-compositor.c
index b25ff7f..7e0b521 100644
--- a/magnifier/x11/gmag-compositor.c
+++ b/magnifier/x11/gmag-compositor.c
@@ -156,15 +156,15 @@ gmag_compositor_paint_window (GmagWinPtr pgmag_win, XserverRegion region)
 		XFixesIntersectRegion (dpy, final_clip, region,
 				       pgmag_win->clip);
 		XFixesSetPictureClipRegion (dpy, pgmag_win->pic,
-					    -(pgmag_win->attr.x),
-					    -(pgmag_win->attr.y), final_clip);
+					    0,
+					    0, final_clip);
 
 		rectlist = XFixesFetchRegion (dpy, final_clip, &howmany);
 	} else {
 		XFixesSetPictureClipRegion (dpy,
 					    pgmag_win->pic,
-					    -(pgmag_win->attr.x),
-					    -(pgmag_win->attr.y),
+					    0,
+					    0,
 					    pgmag_win->clip);
 		rectlist = XFixesFetchRegion (dpy, pgmag_win->clip, &howmany);
 	}
