Go into Windows' Device Manager, find your mouse and check if it is enabled as a wake-up source. Your computer might be coming out of standby due to mouse movement from vibrations when the fan starts.
But as Poprin said, you shouldn't plug high-powered appliances like heaters into extensions. If you absolutely have to, make sure it is a genuine UL-listed one with #14 gauge real copper wires from a reputable brand. If you buy dollar store extensions, you may end up with cables marked #14 that are actually #16 or even #18 copper-clad aluminum which can be fire hazards.