Fixed bug where autosize was causing the page position restore to function incorrectly.