unique_ptr -> shared_ptr in Mesh createSprite().