Fix build script again and update Sprite documentation.