Fixing focus bug with navigation.