Fix attach Point code
Merge pull request #849 from DaviRyan/_templateWidgetFix

Fix attach Point code