fixed bug when placing a container that the default style is ignored