Fixed issue with tooltip template being undefined.