legend background rect & legend draggable