Fix url coordinates when pdf rendering.