Do not move cursor position when shrinking terminal