Added a break statement to the end of a case statement when checking the type of the event in MenuGameState::update().