Fix display of paper size after loading from Template. Fixes #6818