cases removal on painMeasureGui loading