MP1-4307 : Trying to place locks only in CachedTexture since the problem is there