Add a check for height < 0 and and force height to be 0 so bar chart doe...

...sn't log massive error attemping to render rect with negative height.