Fixed xterm resizing glitch.