Fixed timing issue with expressions within template element.