Fixed inconsistent electricity bug

Bug fix port from UE 1.3