Bugfix for the issue that didn't let the pages center correctly.