Graph not redrawn on add elements or edges, but is still redrawn on remove elements/edges