bugfix for scrollback aftifacts