diff --git a/word/Editor/DocumentContentBase.js b/word/Editor/DocumentContentBase.js
index 4cd6c221a8d32323c6a615b4a76bbb7057ace23d..7eabb01b6e91d4d441ebfd24f1551aaff44998a0 100644
--- a/word/Editor/DocumentContentBase.js
+++ b/word/Editor/DocumentContentBase.js
@@ -275,6 +275,14 @@ CDocumentContentBase.prototype.GotoFootnoteRef = function(isNext, isCurrent)
 CDocumentContentBase.prototype.MoveCursorToNearestPos = function(oNearestPos)
 {
 	var oPara = oNearestPos.Paragraph;
+	var oParent = oPara.Parent;
+	if (oParent)
+	{
+		var oTopDocument = oParent.Is_TopDocument(true);
+		if (oTopDocument)
+			oTopDocument.Selection_Remove();
+	}
+
 	oPara.Set_ParaContentPos(oNearestPos.ContentPos, true, -1, -1);
 	oPara.Document_SetThisElementCurrent(true);
 };