Fixes #4608 add lookup to template globals to make plugins work again