Hitting space bar causes lesson to terminate

During some of the lessons hitting the space bar causes the program to lesson to terminate. So, I have to start lesson again, which adds a lot of time to complete the lesson. Is this a bug?