Fix StubComplexPanel.clear().