Fix document loading with zoom set to 'page-fit', regression from #2719

This PR fixes an issue when the PDF document is loaded with zoom set to 'page-fit'.
Currently, once the progressive loading bar is removed, the pages will be slightly shorter than the viewer height. To see this issue, try opening: http://mozilla.github.io/pdf.js/web/viewer.html#page=2&zoom=page-fit.