Issue #556: Drawing a pedigree breaks the PDF export
Re-fixed in the layout branch, where it got overwritten.