diff --git a/indra/newview/llinventorygallery.cpp b/indra/newview/llinventorygallery.cpp
index eb603f0ac3919e16f0d85e5d0ff737a34d710f39..8170c0c63b8f5de7ac1f41aefb148ba84138797d 100644
--- a/indra/newview/llinventorygallery.cpp
+++ b/indra/newview/llinventorygallery.cpp
@@ -2347,6 +2347,7 @@ void LLInventoryGalleryItem::draw()
         LLUIColor border_color = LLUIColorTable::instance().getColor(mSelected ? "MenuItemHighlightBgColor" : "TextFgTentativeColor", LLColor4::white);
         LLRect border = getChildView("preview_thumbnail")->getRect();
         border.mRight = border.mRight + 1;
+        border.mTop = border.mTop + 1;
         gl_rect_2d(border, border_color.get(), FALSE);
     }