Fix bug with component being stuck with a stale value on input defocus.

I don't even know how to test this one...