Fixed bug with bad index

Fixed a crash that would occur if an incorrect index was passed to
renderNodeName or renderNodeAxes.