The wire size of the extension cord needs to be large enough to handle the charging current or the cable may overheat. Also the added cable distance adds impedance and voltage drop.
That says the 16 wire is borderline undersized and is probably warm to the touch during charging. How long is the extension cord?
I use a 25' extension cord rated for 15A at work to reach the plug. No issues with heat and charging seems fine.