Fix the bar plot animation regression