SpriteBatch refactoring