Index: macosx/tkMacOSXSubwindows.c
==================================================================
--- macosx/tkMacOSXSubwindows.c
+++ macosx/tkMacOSXSubwindows.c
@@ -366,11 +366,11 @@
 	    CGFloat Width = (CGFloat)width;
 	    CGFloat Height = (CGFloat)height;
 	    CGFloat XOff = (CGFloat)macWin->winPtr->wmInfoPtr->xInParent; 
 	    CGFloat YOff = (CGFloat)macWin->winPtr->wmInfoPtr->yInParent;
 	    NSRect r = NSMakeRect(X + XOff,
-	    			  tkMacOSXZeroScreenHeight - Y - YOff,
+	    			  tkMacOSXZeroScreenHeight - Y - YOff - Height,
 	    			  Width, Height);
 	    [w setFrame:[w frameRectForContentRect:r] display:YES];
 	}
     } else {
 	MoveResizeWindow(macWin);

