- fixed a bug where editting the main structural elements without triggering the button(ie. by dragging in items when in display mode) would cause an error