Hack to get text shadows working in non-Webkit browsers.
Use g elements for nodes.

Note that this slows down Firefox slightly. No noticeable performance effect on Chrome.
Tweak initial positions.