client: while console is active it takes priority with the escape key, fixes #576