Fix focus bug.