Added offset param to center method on Sprite