fix position of left edge of a marker rectangle when the label is on the left, and slightly pad the rectangle when the label is on the right