Why DrawSprite does not draw on top of the game interface?

Normally it works, I can draw sprite on top of other UI’s (like for example on top of Weapon Wheel or Radar). However, if I open RedMenu then I can’t draw sprite on top of in-game UI’s anymore - nothing helps, the only way is to reconnect to server. :sweat:

Why it happens, is there something specific in RedMenu (MenuAPI) source code causing such behavior or it’s some kind of bug? And is there any way to fix it?

Showcase:

Video Link

I’m not sure about RedM specifically, but in FiveM you can change the UI layer for drawing UI stuff. You usually have to reset that after drawing again to make sure other UI elements are not drawn on that.

This seems to be the equivalent in RedM: SetScriptGfxDrawOrder - RedM Natives @ Unofficial Docs