correct rendering on expanding nodes