I made it so that after I die in the game layout it will go to the gameover layout. After pressing the menu button (in the game over layout) it will go to the main screen again. The problem is that when I press the menu button, the layout changes BUT I cant actually see the layout, it basically freezes. The game order is: StartScene --- Game Scene ---- Gameoverscene. How do I fix this?