Added center info to sprite constructor