[FIX] (CCC Legend Align) Two bugs in layout code that would cause misalignments.
[FIX] (CCC Legend Align) Two bugs in layout code that would cause misalignments.

miguelleite/cdf,e-cuellar/cdf,e-cuellar/cdf,diogofscmariano/cdf,Tiger66639/cdf,pamval/cdf,webdetails/cdf,miguelleite/cdf,Aliaksandr-Kastenka/cdf,plagoa/cdf,jvelasques/cdf,jvelasques/cdf,eliofreitas/cdf,davidmsantos90/cdf,jvelasques/cdf,gcnonato/cdf,diogofscmariano/cdf,dcleao/cdf,carlosrusso/cdf,davidmsantos90/cdf,Aliaksandr-Kastenka/cdf,akhayrutdinov/cdf,Tiger66639/cdf,akhayrutdinov/cdf,bytekast/cdf,pedrofvteixeira/cdf,pedrofvteixeira/cdf,pamval/cdf,dcleao/cdf,dcleao/cdf,eliofreitas/cdf,gcnonato/cdf,afrjorge/cdf,scottyaslan/cdf,akhayrutdinov/cdf,Aliaksandr-Kastenka/cdf,gcnonato/cdf,krivera-pentaho/cdf,bytekast/cdf,plagoa/cdf,scottyaslan/cdf,krivera-pentaho/cdf,diogofscmariano/cdf,bytekast/cdf,Tiger66639/cdf,e-cuellar/cdf,pamval/cdf,afrjorge/cdf,miguelleite/cdf,davidmsantos90/cdf,krivera-pentaho/cdf,afrjorge/cdf,carlosrusso/cdf,webdetails/cdf,scottyaslan/cdf,plagoa/cdf,webdetails/cdf,carlosrusso/cdf,eliofreitas/cdf,pedrofvteixeira/cdf