Fixes #866: Do not try to restore focus on a row update if the row or cell is not visible