Implemented dirty flag for map transparency cache and outside cache.