You have to set the object center correctly AND the scene objects have to be in the right order in the objects' list (because objects in the background have to be drawn first, objects in the foreground last). You can sort them automatically by hitting the double-arrow button above the list (rightmost button).