Fix component positioning and wire update on resize