moved the z-order knowledge to the place the component is created