Fixed crash when a power network is destroyed before being initialized.