Minor bug with multiple graphs and css

I have a couple of graphs. If I set up custom.css for one of them, and then switch to another, it wrongly uses the first graphs css.