Fix bar stacking bug