Bugfix: only focus at console when event text is not empty