Fix sidebar extending too far when node names are long