Apache FOP Layout fix

Layout fix
by
JM
:

Fixed BPD trait and border painting for leaders with leader-pattern="space"
(and similar cases).