Fixed immediate crashed when calling unmanaged dxerr.dll (might be removed completely if not required from other components)