If you hover over a footnote anchor that's close to the bottom of the window, the floating footnote is incorrectly positioned:
After applying this change:
Alternatively, gitit's footnotes.js could be changed to apply the position: absolute style before trying to calculate the width and height of #footnotediv.