Fixing of graph div caching