Multiple displays: Mouse gesture not working when primary screen is in fullscreen with other app

Describe the bug
I have a MackBook pro connected to an external display.
I have configured the Button 3 of the mouse assigned to 3F Swipe Left (Page Back) and Button 4 assigned to 3F Swipe Right (Page Forward), so I can use those buttons to go back and forth in multiple apps.
When I have a fullscreen app (other than Chrome, eg. PyCharm) in the main screen and Chome (it doesn't matter if it is fullscreen or not) in the secondary screen, the gesture stops working.

Affected input device (e.g. MacBook Trackpad, Magic Mouse/Trackpad, Touch Bar, etc.):
Normal mouse

Device information:

  • Type of Mac: MacBook Pro (13-inch, 2017, Four Thunderbolt 3 Ports)
  • macOS version: macOS Mojave 10.14.6 (18G87)
  • BetterTouchTool version: 3.182