Fix max-width of legend