@VirtualVirgin a temporay solution would be to restrict the dragginBounds
for (p in pnls)
{
p.set("allowDragging", true);
p.setDraggingBounds([p.get("x"), p.get("y"), p.getWidth(), p.getHeight()]);
p.setMouseCallback(function(e)
{
if (e.clicked)
this.setZLevel("Front");
});
}