fix bug: link background paints wrong position