Fixed centering issue for even number of levels.