Fixed bug where empty lines could spawn ContextMenus