title: Screen freeze when navigate in react native navigation with Drawer navigation
body: <p>I have an issue with Drawer navigation in React Native Navigation.</p>
  <p>The problem seems to be very simple.</p>
  <p>I have 2 screens, on each screen I have a button that sends the user to the other one.</p>
  <p>the <strong>problem</strong> is after sending the user from screen A to B and from B to A the button does not work anymore.</p>
  <p>I can pull the drawer and go back to the B screen again, and the Button works there, but the button in the A screen is still frozen, the hole screen basically.</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>import React from "react";
  import { createDrawerNavigator } from "@react-navigation/drawer";
  
  import SettingScreen from "../screens/SettingScreen";
  import ProfileScreen from "../screens/ProfileScreen";
  
  const Drawer = createDrawerNavigator();
  
  function MenuNavigation(props) {
    return (
      &lt;Drawer.Navigator&gt;
        &lt;Drawer.Screen name="Setting" component={SettingScreen} /&gt;
        &lt;Drawer.Screen name="Profile" component={ProfileScreen} /&gt;
      &lt;/Drawer.Navigator&gt;
    );
  }
  
  export default MenuNavigation;</code></pre>
  </div>
  </div>
  </p>
  <p>this is one of the screens the other one is the same with exception of names</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>import React from "react";
  import { Button, Text, View } from "react-native";
  
  function SettingScreen({ navigation }) {
    return (
      &lt;View style={{ flex: 1, justifyContent: "center", alignItems: "center" }}&gt;
        &lt;Text&gt;Hello world&lt;/Text&gt;
        &lt;Button
          title="Go to Profile Screen"
          onPress={() =&gt; navigation.navigate("Profile")}
        /&gt;
      &lt;/View&gt;
    );
  }
  
  export default SettingScreen;</code></pre>
  </div>
  </div>
  </p>
  <p>similar to Setting Screen I have a Profile Screen, which I didn't include.</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>import React from "react";
  import { NavigationContainer } from "@react-navigation/native";
  import MenuNavigation from "./MenuNavigation";
  
  function MainNavigation(props) {
    return (
      &lt;NavigationContainer&gt;
        &lt;MenuNavigation /&gt;
      &lt;/NavigationContainer&gt;
    );
  }
  
  export default MainNavigation;</code></pre>
  </div>
  </div>
  </p>
  <p>and finally, this is my package.json file and yes I'm using EXPO</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>{
    "main": "node_modules/expo/AppEntry.js",
    "scripts": {
      "start": "expo start",
      "android": "expo start --android",
      "ios": "expo start --ios",
      "web": "expo start --web",
      "eject": "expo eject"
    },
    "dependencies": {
      "@expo-google-fonts/roboto": "^0.1.0",
      "@react-native-community/checkbox": "^0.5.7",
      "@react-native-community/datetimepicker": "3.0.4",
      "@react-native-community/masked-view": "^0.1.10",
      "@react-navigation/bottom-tabs": "^5.11.2",
      "@react-navigation/drawer": "^5.12.2",
      "@react-navigation/native": "^5.8.10",
      "@react-navigation/stack": "^5.12.8",
      "expo": "~40.0.0",
      "expo-checkbox": "~1.0.0",
      "expo-font": "~8.4.0",
      "expo-status-bar": "~1.0.3",
      "moment": "^2.29.1",
      "native-base": "^2.15.2",
      "react": "16.13.1",
      "react-dom": "16.13.1",
      "react-hook-form": "^6.14.1",
      "react-native": "https://github.com/expo/react-native/archive/sdk-40.0.1.tar.gz",
      "react-native-action-button": "^2.8.5",
      "react-native-gesture-handler": "~1.8.0",
      "react-native-modals": "^0.22.3",
      "react-native-progress": "^4.1.2",
      "react-native-reanimated": "^1.13.2",
      "react-native-safe-area-context": "^3.1.9",
      "react-native-screens": "^2.15.2",
      "react-native-web": "~0.13.12",
      "react-redux": "^7.2.2",
      "redux": "^4.0.5",
      "redux-connect": "^10.0.0",
      "redux-thunk": "^2.3.0"
    },
    "devDependencies": {
      "@babel/core": "~7.9.0"
    },
    "private": true
  }</code></pre>
  </div>
  </div>
  </p>
  <p>no Error no nothing, simply does not work.</p>
  <p>If anyone needs more detail just ask me.</p>