VE-1476 Adjust focus mode after template is rerendered