SpriteRenderer buffer size can now be set in the constructor.