Fixed the centering issue, the proper way