Fixed rendering of subviews