Workaround for TMI screwing with the GuiContainer class. Should fix #251.