Fix incorrect variable assignment

Fixing a typo in the Document Layout class that impacts when custom slide sizes are used