[easyNPC] Changed loading method of template to a more robust version