Exactly. People just aren't thinking or paying attention to the details.  They don't realize that the electricity must be generated somewhere.  Electric cars for the most part displace pollution.  The pollution created isn't seen by the driver as the power was generated a long distance away.