Fixed bug where geometry wasn't getting updated on edit.