Update: I was able to get it working if I switched to DirectX 9, for some reason it doesn't work with DirectX 11.