Billboard Shader in wikibooks/unity

https://en.wikibooks.org/wiki/Cg_Programming/Unity/Billboards

There is something wrong with this Shader in Unity5.3

Here is a Cube with this Shader, it’s correct
2426997--166222--upload_2015-12-17_11-9-49.png

But When I Duplicate it, it’s totally wrong.
2426997--166223--upload_2015-12-17_11-11-2.png

Why?

That shader relies on the object’s pivot being the center of the billboard. When you have two objects with the same shader Unity might try to batch them, which means combining the meshes into a single mesh, which means the center of the mesh is no longer at the center of a box but between them someplace.