Avoid changing cursor position in active inputs with value bindings