fix for the ugly pdf print background

Fixes #619