Fix online keyboard bug