Add a Text object to g.js.
When drawing, obj.draw takes precedence.

This avoids a bug where arrays of text objects (which contain x
and y properties) are seen as points.