Small NavBar Changes - Code Was Broken on My Side

Causing a dereference of a null array index ($this->items[0]) in the
NavBar class line 47.