Seems like it would be easier to just add the 2 pixels in nsMenuPopupFrame::SetPopupPosition as needed when mIsContextMenu is true instead.
Seems like it would be easier to just add the 2 pixels in nsMenuPopupFram e::SetPopupPosi tion as needed when mIsContextMenu is true instead.