The reason the light goes out when precharging is because it works on the flow of power. An empty capacitor looks very like a dead short. The capacitor, however, fills up, and as it does so the voltage in it rises, looking still about like a dead short, but to a voltage closer to the battery voltage. As the that happens, the light resistance stays the same, so less power flows across, and hence the lamp dims.
Until the inverter is turned on there should be only maybe a small discharge resistor across the capacitor, just so it doesn't stay dangerous for a long time. From what you're describing it sounds to me like there's a dead short somewhere in the inverter.