Added "nullpointer check" in the draw() method in GamesMenu and
MainMenu.