Force View to have composite layout.

If the parent view has other layout than composite, the layout would be
off. This is the quick fix.