fixes #286

Pleas note this fix works along with an update in tecla-LatinIME in the following pull request:

https://github.com/idrc/tecla-LatinIME/pull/30