fixed non-centering-components bug