Fixed occasional no-keyboard error (I think!!)