Fixes #5933: Don't NPE on node display