Avoids accidentally moving the y position of the cursor; previously we would keep it pinned to the physical viewport relative coordinate, but we didn't account for the implicit scroll that happens when making the window smaller, which meant that the shell would re-render its prompt with some artifacts during a resize.