fix scg container resizing