Fix performance issue with Node.getDisplayName