diff --git a/indra/llui/lldockcontrol.cpp b/indra/llui/lldockcontrol.cpp
index f91c07184d2fa3db6bf54ffc0b22b3cae1f2f646..d738b101308211c75fd749f9623e332d0e0b8667 100644
--- a/indra/llui/lldockcontrol.cpp
+++ b/indra/llui/lldockcontrol.cpp
@@ -293,7 +293,7 @@ void LLDockControl::moveDockable()
 		{
 			mDockTongueX = dockRect.getCenterX() - mDockTongue->getWidth() / 2;
 		}
-		mDockTongueY = dockRect.mTop + mDockTongue->getHeight();
+		mDockTongueY = dockRect.mBottom - mDockTongue->getHeight();
 
 		break;
 	}