[help]User widget window zorder

Hello, everyone i got quite a few problems with using ‘user widget’ and drawing your own cursor, their zorder is way off, so maybe, somebody cracked a way around this problem? Thanks for your time answering this.

Detail info: Using only one ‘user widget’, that has multiply windows, that are opened by key press. Also, drawing mouse cursor.

Image: