Preserve upper-left position when resizing.

This keeps the tabs in the same place, which makes it easier to cycle
through the tabs.