fix for display disposed bug in StatsPanel