Fix bug with the revert of keyboard nav.