Mhm, that label is showing relative to the player’s entire window, instead of the XGUI window. You get this kind of behavior because you don’t start off with a base panel that has
xgui.null as its parent.
You are using some kind of base panel (
WoltLabCBridge.back), but it’s never initialized.
Using XLIB, you can initialize it like so:
WoltLabCBridge.back = xlib.makepanel{ parent=xgui.null }