Fixed bug where too long template names wouldn't fit the listbox in template plugin.