fixed a bug in DdDeleteDirectDrawObject