Below are images of the bug. The upper two steam engines are counted twice, the bottom counted once. The difference is the upper engines have overlapping lines branching from power switches.
It's not just the performance bar that's greater on the upper two, the engine's animations are faster as well.
(Joining the two lies together corrects the behavior.)
Images
PS: Save attached. No mods needed.