Adding battler shadows (depth issue)

Hi! I'm trying to add shadows to enemy battlers.
While the shadow loads and works ok, it's displayed on top of the battler - and I want it behind the main sprite.

I have this code:
Code:
var _Sprite_Enemy_initMembers = Sprite_Enemy.prototype.initMembers;
Sprite_Enemy.prototype.initMembers = function() {
    this.createShadowSprite(); // a function that loads a bitmap and then adds its via this.addChild()
    _Sprite_Enemy_initMembers.call(this);   
};

I thought creating it before calling initMembers would solve my problem, but it won't.
I also tried to removeChild(this.bitmap) and add it again in order to rearrange the images - it threw an error.

Any idea on how to solve this?

Thanks!

Original thread: https://forums.rpgmakerweb.com/threads/adding-battler-shadows-depth-issue.112338/