repaint the graph twice is a bad idea
changed background again to white