Fixed bug with dangling edges when failing to place them using GUI