Can't just draw a few lines on top of a sprites, I have to store line data with the sprite, load it when rendering the sprite, and then draw them right before the screen is displayed. I'm assuming the issues are related to the old version of OpenGL QB64 uses, but I don't know how to detect the problem ahead of time or recreate it.
You can always change _DISPLAYORDER.