Add an offset to legend x position

To cope with the viewbox moving around