The problem is completely unrelated to the panel. You just have to set mouse_mode = 3 and it will work.
Btw, why are are you putting an LBGUI-panel on the background? The only advantage it has is that you can put it on windows, so I don't really see the point of putting it on the background...