Fix [#32240] Fix broken template style editing.