v0.9971 - fixed some bugs between document-size-calculation and loading/rendering.