Fix destroy draw thread