fix footnote ref link coordinate calc bug