Fix crash caused by invalid buffer access on outputwindow