fix: terminal resizing on toggle window when animation disabled