Fix: set component size recursion issue