onServerChat is an instantaneous event: it fires when the chat receives a message and immediately stops.
You will need to draw your GUI in an event that updates every frame. I have been doing it OnRenderExperienceBar, an element of Minecraft's default GUI. Here's an example using your code.
@SideOnly(Side.CLIENT)
@SubscribeEvent(priority = EventPriority.NORMAL)
public void onRenderExperienceBar(RenderGameOverlayEvent event) {
mcObject.fontRenderer.drawStringWithShadow("Hello World", 4, 4, 0xffFFFFFF);
mcObject.ingameGUI.drawRect(2 /*X*/, 2 /*Y*/, 100 /*X1*/, 12 /*Y1*/, 0x80000000 /*COLOUR*/);
}