Error going to previous page in Ionic with Angular (Android)

I have an application developed with Ionic + Capacitor + Angular. Everything works correctly until I install a cordova plugin (for example cordova-plugin-fingerprint-aio), from here, when I compile for android, when trying to go back, the pages do not load correctly and are displayed one below the other. This error only occurs when I install a cordova plugin, if I uninstall the plugin everything returns to normal. The error occurs on the android platform, on the web it works correctly.

Ionic:

   Ionic CLI                     : 6.19.0 (C:\Users\USUARIO\AppData\Roaming\npm\node_modules\@ionic\cli)
   Ionic Framework               : @ionic/angular 6.0.12
   @angular-devkit/build-angular : 13.3.0
   @angular-devkit/schematics    : 13.3.0
   @angular/cli                  : 13.3.0
   @ionic/angular-toolkit        : 6.1.0

Capacitor:

   Capacitor CLI      : 3.4.3
   @capacitor/android : 3.4.3
   @capacitor/core    : 3.4.3
   @capacitor/ios     : not installed

Utility:

   cordova-res : 0.15.4
   native-run  : 1.5.0

System:

   NodeJS : v12.22.10 (C:\Program Files\nodejs\node.exe)
   npm    : 8.5.5
   OS     : Windows 10

In the following image I navigated from page one to four and then when I go back one page is not replaced by another but they are shown below.

Any help you can give me will be greatly appreciated.