Minor fix in written panel input behavior