Fix for tty_size change