Fix clearing screen and redrawn characters.