Console resizes when height of window is changed