If you want to use Automatic Page Size and Centre in Browser at the same time, then you need to make sure all objects are inside the page boundaries.
For example, if the desired page width is 970 then all objects should be centered inside the 970 viewport.

Note however that Automatic Page Size is becoming obsolete with responsive web design and layout grids. Because for breakpoints the page width should be the same as the breakpoint max-width value.
And for layout grids there is no fixed page width or center in browser because the grid determines the alignment of the content.