Fix bug in Input GUI that crashed program when starting a new game