Made sure the component hierarchy is valid, fixes IE8 layout issue.