Dispose method in PixelLocator