Updated to reflect component/menu changes

Fixes for changes int component/menu that is now storing `this.items[anything]` as a plain element.