Fixed template renderer to stop using now deprecated function (breaking firefox et al)