MZ Animation not playing to completion.

I created an animation using Aseprite and Dragonbones of a character throwing a spear, however, it doesn't play correctly when I import it into the game and instead plays only the first few frames. Any ideas?

Full animation:
https://i.gyazo.com/e1e43693d098d804f57dc63b1f431920.mp4

What appears in game:
https://i.gyazo.com/83b1ad0d4119fe6f814f5923723126f7.mp4

Original thread: https://forums.rpgmakerweb.com/threads/animation-not-playing-to-completion.153736/