PDF Output: Fix anchors sometimes located incorrectly

PDF Output: Workaround bug in WebKit's getBoundingClientRect() method
that could cause links to occasionally point to incorrect locations.
Fixes #1202390 [Private bug](https://bugs.launchpad.net/calibre/+bug/1202390)