FE6 music broken?

I really like Project Sienna so I wanted to make it a inflation hack. The thing is since this is for personal use I made some liberties like using music from FE7if and apparently one of those themes from FE7if in chapter 21x is broken and idk if is the music itself or the game. The error is that after a time the theme will start to be buggy and 2 things can happen (maybe the differences are due to the emulators) but in VBA the game will crash after some time passed and in mGBA the music will sound buggy and enemies will start to teleport to my positions, the enemy phase will start to be broken too and the sound effects will be gone. This is the midi the theme that is causing this if anyone wants to help me: Necrofantasia