I have the same problem.
Though a better workaround than switching to 2d then back to VR is to hit escape again to go back to the menu options, but then hit escape again to go back into the flight. Do not use the mouse to click anything on the menu screen. Just ESC to go to the screen, and then ESC back into the flight. I think my mouse has worked with the cockpit controls every time after doing this.