label = ((Client) VanillaPlugin.getInstance().getEngine()).getScreenStack().createWidget();
VanillaPlugin plugin = VanillaPlugin.getInstance();
popup.setGrabsMouse(false);
// Setup the window to render
RenderPartComponent backgroundRect = background.add(RenderPartComponent.class);
backgroundRect.setRenderMaterial(type.getRenderMaterial());
backgroundRect.setSprite(new Rectangle(-WIDTH * SCALE, -WIDTH, HEIGHT * 2 * SCALE, HEIGHT * 2));
backgroundRect.setSource(new Rectangle(0, 0, WIDTH, HEIGHT));
popup.attachWidget(plugin, background);
// Draw title
LabelComponent labelComponent = label.add(LabelComponent.class);
labelComponent.setFont(VanillaRenderMaterials.FONT);