Fix for collapsible stats panels