Fixes crash GuiContainer on exit and Gameover screen