Fix component.getSize() wrong