I've done a quick fix for until magu5026 has a chance to update the mod: https://mods.factorio.com/mod/ElectricTrainFix
I may have gotten a bit obsessed after looking at the source code so I'm working on a complete replacement because I really like this mod, but have some ideas to improve things. It will be a direct swap that preserves the locomotives and wagons but its performance should scale better thanks to the locomotive updates being spread out over many ticks. I've also added electric cars and tanks along with a bunch of configurable settings and general other neatening up of stuff.