Bug in UILayout.template_node_view()?

I’m using UILayout.template_node_view() in the Properties panel with a custom node network. On Windows and macOS, it looks like this on Blender 2.93 and above:

image

It works fine on Linux though. Is this a bug? There don’t seem to be any API changes that would cause this, and it was working for a long time when I was using 2.83 as my daily driver. Any help is appreciated!