Fix unexpected edge drawing. Now all edges should be drawn.