Fix an issue with attributes on the templet editor