When you state the heater turned on I assume you mean the blower fan. If that is the case sounds like the blower fan was wired to the battery rather than thru the ignition switch. Move the wire to the blower motor so it is only hot when the switch is on.