problem of display.newContainer()

Oh, I know!
I have appended to the code of deleurapps’s.

local container = display.newContainer (display.contentWidth, display.contentHeight)
container.x = display.contentCenterX
container.y = display.contentCenterY
local group = display.newGroup ()
local bg1 = display.newRect (display.contentCenterX, display.contentCenterY, display.contentWidth, display.contentHeight)
bg1: setFillColor (1,0,0)
group: insert (bg1)
local bg2 = display.newRect (display.contentCenterX, display.contentCenterY, display.contentWidth, display.contentHeight)
bg2: setFillColor (1,1,1)
group: insert (bg2)

-------- Add --------
group.x =-display.contentCenterX
group.y =-display.contentCenterY
-------- Add --------

container: insert (group)

As desired This red area is no longer visible.

It was not able to understand the origin of the container.
It is sorry to say that’s a problem Nantes.
Thanks to everyone!