clear secondary cursors when inserting a template
you can still get strange behaviour when adding secondary cursors after a template was activated; that should be fixed eventually.