Fix side-by-side storage-machine energy transfers. Fixes #1028.