Fixed infinite recursion in D3D_Reset()