Fix output menu not getting correctly synced to the line and column numbers