Depending of mGBA version some glitch like you experienced happen randomly ( the version 0.9.3 is the one that work the best, but you can still experience this glitch randomly)
I recommand you to try on hardware which seems to work even better
Ah, I did actually use mGBA version 0.9.3, If I remember I'll give it a try on hardware :)