Yanfly Action Sequence 1 pixel sprite shift fix?

I have a simple move to enemy target to attack, then return to base location for my Attack skill.
Spoiler: Code
Code:
<setup action>
display action
immortal: targets, true
</setup action>
<target action>
if user.attackMotion() !== 'missile'
motion evade: user
move user: targets, front, 15
else
perform start
end
zoom: 125%, 15
camera screen: target, front center, 15
camera focus: target, front center, 15
wait for movement
motion attack: user
wait: 15
attack animation: target
wait for animation
action effect
</target action>
<follow action>
move user: home, 15
motion escape: user
face user: forward
zoom: 100%, 30
</follow action>
</finish action>
motion walk: user
wait: 15
</finish action>
The thing is, right after the sprite attack animation, it draws sprite "1a" for a single frame, before returning to base. This "1a" sprite is placed 1 pixel too low when it does, as it reveals the bottom pixel line of sprite "1" during it. Is there a way to easily fix this? Sprite sheet included. The blue line is supposed to be only visible on sprite "1", but it shows during the single frame, along with the black line from the shoe. This isn't visible during the normal waiting period, before attacking.

Added image of the frame of the sprite shift in gameplay (before I added the numbering and blue line to the sheet).
If you remove the zoom effect entirely, the problem most likely won't happen anymore.

I'm not sure what the exact cause is, but when zooming the sprites is involved, weird extra black lines like the one you show randomly show up. It doesn't always happen, though. I think it has something to do with sprite caching.
If you remove the zoom effect entirely, the problem most likely won't happen anymore.

I'm not sure what the exact cause is, but when zooming the sprites is involved, weird extra black lines like the one you show randomly show up. It doesn't always happen, though. I think it has something to do with sprite caching.
Hmm, true. Just tested this without the zoom-in, and it looked fine...
Hmm, true. Just tested this without the zoom-in, and it looked fine...
Also, I noticed this happening a lot more often with an older version of MV (like before 1.5.0) and I haven't really noticed it as much after 1.6.2. I can't say if the core files being updated fixed it, or something else, but try updating your project if possible.
Also, I noticed this happening a lot more often with an older version of MV (like before 1.5.0) and I haven't really noticed it as much after 1.6.2. I can't say if the core files being updated fixed it, or something else, but try updating your project if possible.
I'm using 1.6.1, the version I got when I purchased MZ (just got a new PC, so had to re-install stuff).

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-action-sequence-1-pixel-sprite-shift-fix.125208/