I don’t know enough about this exact subject to comment, but many adaptations are indeed the result of defective genes. Sickle cell and lactose tolerance being the two most obvious examples. Genes are supposed to code for functional proteins. If the protein it codes for is defective (or isn’t even expressed) then the gene is indeed defective.
A defect (from the mechanical point of view) can be an improvement (from the functional or holistic points of view). I fail to see the problem you’re having with the word. “Defective” doesn’t mean “evil,” it just means it does not work as it had been working.
Yeah, a defective lock on the gate that lets the concentration camp inmates escape is still defective even though the result of that failure is a positive good.
Not to mention they mostly live indoors, and the risk of death from heatstroke or exposure in general is virtually nil- certainly not enough to have a significant impact on reproduction rates.