After some trial and error, it looks like an issue with the DirectX version, running with Vulkan fixed the problem.