Fix memory leak in BillboardLine destructor (material not being destroyed correctly)

See issue #745, this pull request fixes the memory leak