fixes Template::RegionDefinition management when creating a new Template