[Toolkit.Game] Fixed WPF support for DX11.2 build (issue #371).