d3dretrace: Handle deferred d3d11 contexts better.