fixing missing GC on Paint/Measure/Erase item events