Shrink the width of the legend box

Feel free to merge, if happy. :)