Fix top/bottom margin when not using dynamic header/footer

Unfortunately 80cbcc5db95eb48127a2d1418653e8643ad74f46 to add auto calculation of header/footer nerfs the static top/bottom margins if we're using simple header/footer text or no headers/footers at all.

I believe this restores the previous behaviour in the simplest manner possible.