I looked for a ‘bugs’ subforum but didn’t see one. I saw ‘issues, workarounds, a localization’ but that didn’t seem appropriate.
Anyhow, to reproduce the bug: 1) be in a state where you cannot add any more structures due to being maxed-out on power, 2) delete an extraction head to make room for a basic industry facility (don’t submit), 3) build basic industry facility (don’t submit), 4) simulate ‘whoops, didn’t mean to put it there’ and delete basic industry facility (don’t submit), 5) try to build it again. You get an error that you are already dangerously maxed-out on power.