Reverting most of commit cb3e4deb. The issue was not related to using keyboardinputReset.. the issue was infact a typo which was introduced in 3b8ec46f. I must be too tired..