Add missing setters for pageSizeW and pageSizeH

Fixes issue #336