Fix display tree view in the inspector.
Merge pull request #747 from tobeytailor/display

Fixes regression in #737