Make sure edges are positioned correctly for 0 size nodes