drawTexturedModalRect(x_tpanel_start, y_tpanel_start, 0,0, x_tpanel_width/2, y_tpanel_height);
drawTexturedModalRect(x_tpanel_start+x_tpanel_width/2, y_tpanel_start, 0,30, x_tpanel_width/2, y_tpanel_height);
drawTexturedModalRect(x_lpanel_start, y_lpanel_start, 0,60, x_lpanel_width, y_lpanel_height);
drawTexturedModalRect(x_rpanel_start, y_rpanel_start, 30,60, x_rpanel_width, y_rpanel_height);
colourTextField.drawTextBox();
<BUG>GL11.glColor3f(1, 1, 1);
canvus_back.updateDynamicTexture();</BUG>
drawTexturedModalRect(x_canvus_start, y_canvus_start, canvusSize, canvusSize, 0, 0, 32, 32);
<BUG>GL11.glEnable(GL11.GL_BLEND);
GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
</BUG>
overlay.updateDynamicTexture();

drawTexturedModalRect(x_tpanel_start, y_tpanel_start, 0,0, x_tpanel_width/2, y_tpanel_height);
drawTexturedModalRect(x_tpanel_start+x_tpanel_width/2, y_tpanel_start, 0,30, x_tpanel_width/2, y_tpanel_height);
drawTexturedModalRect(x_lpanel_start, y_lpanel_start, 0,60, x_lpanel_width, y_lpanel_height);
drawTexturedModalRect(x_rpanel_start, y_rpanel_start, 30,60, x_rpanel_width, y_rpanel_height);
colourTextField.drawTextBox();
GlStateManager.color(1, 1, 1);
canvus_back.updateDynamicTexture();
drawTexturedModalRect(x_canvus_start, y_canvus_start, canvusSize, canvusSize, 0, 0, 32, 32);
GlStateManager.enableBlend();
GlStateManager.blendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
overlay.updateDynamicTexture();
