Always check/restore focus around call to `patchDisplay()`
Prevents focus loss in line widgets when they're updated.