Fixed game looping forever