DirectDraw is prevented from restoring state because the DirectDraw cooperative level window handle has been subclassed.