FOP-1749: Fix offset of footnote when it has a margin-top Patch by Alexey Neyman, applied with minor modifications