Space now toggles the two modes correctly.