Don't pass key to input binder if it was consumed by text editor (Fixes #1845)