Added memento logic to support minScale and MaxScale on Raster Layers