Fixes height calculation for area charts

Was causing it to not update the height value when re-rendering. This
could cause the area chart to be inverted or out of position.