Fix offset of relative container.