Fixed bug causing console always to be disabled