Fix container resizing