fix component decoration on rerender