Arrangement of heat-generating components to reduce thermal damage