Fix bug in ContentBranchNode that caused renderContents to be called not enough

Change-Id: Idff61d405404eccb43c0f36cbfc7eba5af30bad9