Document Preview Margin/Padding Problems

Continuation of #3592
`pageNumber - 2` (spacing)