fix graphs in firefox