Changed nb_rows count when new column is needed. Fixes overlapping legend boxes.
Merge pull request #365 from KelvinLu/master

Overlapping legend boxes fix
bumpb