fixed setContainerSizeCentered bug