Temp fix ResourcePanel counting