Fixed CodeText issue with some keyboards