Probably because the flash and camera take more power than even the charger can supply. On my Desire, there were times my battery still drained, even with the thing plugged in.
Also, have you changed the power profile to performance? Just a thought, don't know if that would work or not.