Fixed legend overflow issue in #2076 with the fix proposed by @patheard.
Merge branch 'v3.0'
Merge pull request #2100 from pjackson28/master

Fixed legend overflow issue in #2076 with the fix proposed by @patheard