fix selection bug in console

Although I still don't know why, the 'collapseSection' call here would
break things with Ace's event handling; if `collapseSection()` is called
here then new text does not enter the Ace 'input text' textarea, and no
'input' event is fired, and hence no input enters the console.