Work done on spritebatch.