restore previously set scale when document is re-rendered