Fixed deleting boxes bug.
Merge branch 'autorouter_port'