Fix content floating when there are multiple contents in a template