What causes an electric motor's magnetic field to collapse?