When "virtual joystick" is enabled and map is opened all plane controls are fully locked. Not only mouse (which makes sense), but a keyboard and joysticks/gamepads too.
Proposed solution - lock mouse in last known position (current behavior with map opened), but allow it to combine with inputs from other devices like keyboard (current behavior without map opened)