Fix wrong position of linear legend form

The (x, y) is start point of the form, but not center