Fixes problems with first character sometime being missed when typing

This was mentioned in https://groups.google.com/forum/#!searchin/kif-framework/first$20character/kif-framework/7nwA6XGBY_Q/nlYozjd5yy8J
Merge branch 'fix-missed-typed-characters' into dev