Make sure that template designs contain only designable components. This closes ticket:3971.
Merge branch 'bugfixes'