Removes a bug with the StatsManager