Fixed drawing of graph.