Just tested again with better keyboard, htc_ime mod and the stock keyboard and you're right, its only happening when charging in 1.1.7 Evo for me.
Which battery icon do you use and which transition animations are you using?
Sent from my Evo 4G running MIUI v1.1.7 using TapaTalk Pro