It goes to over charge because the generator is feeding into a fault.
You are reading the output from the generator, not the battery.
Is your light circuit connected to the generator or the battery side of the ammeter?
If connected to the battery side, this will happen.