diff --git a/exec/load/dd_lightbar_menu.js b/exec/load/dd_lightbar_menu.js
index 7ea87c145199a7e3266e3da41e67ecddc7e281ee..f8f6fd2b14f472d43e6405db9d2734c6b75ddce9 100644
--- a/exec/load/dd_lightbar_menu.js
+++ b/exec/load/dd_lightbar_menu.js
@@ -1202,7 +1202,8 @@ function DDLightbarMenu_WriteItem(pIdx, pItemLen, pHighlight, pSelected, pScreen
 	{
 		var len = this.nextDrawOnlyItemSubstr.end - this.nextDrawOnlyItemSubstr.start;
 		var shortenedText = substrWithAttrCodes(itemText, this.nextDrawOnlyItemSubstr.start, len);
-		console.gotoxy(pScreenX+this.nextDrawOnlyItemSubstr.start, pScreenY);
+		if (this.ANSISupported())
+			console.gotoxy(pScreenX+this.nextDrawOnlyItemSubstr.start, pScreenY);
 		console.print(shortenedText + "\x01n", printModeBits);
 	}
 	else
@@ -1251,7 +1252,8 @@ function DDLightbarMenu_WriteItem(pIdx, pItemLen, pHighlight, pSelected, pScreen
 				{
 					itemLen = itemColor[i].end - itemColor[i].start;
 					var textToPrint = substrWithAttrCodes(itemText, itemStartIdx, itemLen);
-					console.gotoxy(itemStartX + itemColor[i].start, itemY);
+					if (this.ANSISupported())
+						console.gotoxy(itemStartX + itemColor[i].start, itemY);
 					console.print(textToPrint, P_AUTO_UTF8); // printModeBits
 					itemStartIdx += itemLen;