fix pagebreaks not resetting footnote margins