Do not apply layout spacing twice if header and body background is the same.

[Resolves #96]