Fix immediate updating when plotting stats.