Bug fix - TemplatesManager was retrieving all template widgets instead of only those with parent null.