Fix several tools.

* direct edit tool
* create binding edge tool
* Add element