[Gui] Indirectly fixed null-ref crash caused by anonymous items in the editor's path bar.