Added back centering of sprites