Perf test failure fixes for Media Foundation.