fix PixelGrid leaking memory