Fix legend width bug introduced by 6752bf5c
Merge pull request #519 from awakia/master

Fix legend width bug introduced by 6752bf5c