Fixed the vertical center problem