Allow 0 as the value of a tag

This was broken by a refactor to the render buffer: 079630b
Merge pull request #2076 from mhelabs/fix-zero-as-attr-value

Allow 0 as the value of a tag