When resizing the map, the plots (circle, square...) are scaled to the current map scale (which is actualWidth / mapWidth).
However, the legend plot is drawn once at init and then never updated again. Which means the scale is off after a resizing of the map.
Example: http://jsfiddle.net/neveldo/n6XyQ/
- Look first at the legend at the bottom, looks right between the plots and the legend.
- Now resize the container to a smaller size
- The plots on map are scaled down, but the legend remains the same