[PATCH 1/5] d2d1: Fix a crash in Clear method if no target is set.