MV Lib Battle Motion graphic bug

Hello! I hope I'm doing this correctly.

I decided to go with Lib's Battle Motion plugin for my animated battlers.
However, if I add a shadow under the character's feet, a weird graphical bug in the shape of a square occurs.

bug.jpg


This happens no matter how I draw the shadow, either by using the "Show Shadows" option in YEP Battle Engine Core (like the screenshot above), or disabling that and adding the shadow manually into the sprite.

For some reason, the weird square doesn't appear over the characters themselves, only on the shadows which have some transparency.

The square bug disappears if I turn Lib Battle Motion off. But the official tutorial from youtube seems to draw shadows fine, so I don't know what I'm doing wrong...

I'm not a programmer. I've solved many issues with the power of sheer imagination, but I can't seem to find the solution to this. Any help would be greatly appreciated ;_;
It looks like a sorting issue, the tile appears above your shadow for some reason. Maybe you can give the shadow image a different z value? That is my guess.
Hmm...you know, that looks like a square for a state to appear in.
Do you have visual states installed, and if so, where are they set to appear?
Is the character having any invisible states added in combat?
Thank you for the replies!

It looks like a sorting issue, the tile appears above your shadow for some reason. Maybe you can give the shadow image a different z value? That is my guess.
Even if I draw the shadow directly in the sprite, the tile appears. But perhaps the Z position is the reason why it doesn't appear above the characters, only on shadows because they have transparency.

Hmm...you know, that looks like a square for a state to appear in.
Do you have visual states installed, and if so, where are they set to appear?
Is the character having any invisible states added in combat?
Oh! o_o
I'm not using any plugin related to states, but I've just tested applying a state to the character. An animation of the state icon plays right at the buggy spot, and then the bug disappears! So it's related to states after all. I don't know why or how, but at least I know where to investigate next.
Thank you!

EDIT: I think I've solved it!! It was a problem with Olivia Battle Impact plugin, which has a weird effect for states and seems to add an invisible one. I disabled it and now it looks fine. Thank you for your help!

Original thread: https://forums.rpgmakerweb.com/threads/lib-battle-motion-graphic-bug.170604/