Fix "Object to Marker" coordinate/viewport offset
Move coordinates and refX/refY so that they are within the marker viewport. SVG compliant renderers clip (overflow:hidden) markers at their viewport rect (Inkscape doesn't do that, but web browsers do).
Regression of 1fa0c72b
Fixes #1376 (closed)
(cherry-picked from 90b2bca7)