Add better logic to calculate text position within node

Add better logic to calculate text position within node.  The y-direction seems a little off to me, so subtracted 3 from the font size.