Prevent previous bar charts from showing in rerender

This should prevent rerendering of same data from showing barcharts from the previous render (e.g. if you replot and only change the size of the phylogram).