Don't re-render the element if it is currently in focus

When the element is in focus, the user is currently typing/selecting a
time. We don't want to overwrite the value at that moment by
rerendering.