Yep - indeed one important issue people often forget with enclosures is that any non trivial components that end up inside the heated enclosure need to be able to safely continue working at the increased air temperature inside + any heat they or other parts of the printer generate that affects them.

If you steppers are already hot at 22 degrees of room temperature, they might end up damaged if air is at 45 degrees + are in use and generate their own heat.