Fixed centering bug