fix resize
finally the components resize with the frame