Safe calls in ASTextNodeRenderer

fixes #190