Fixes pages per sheet not working.