Screen flashes black when toggling cursor size

Describe the bug
When I activate my BTT gesture to change the cursor size, sometimes the entire screen flashes black momentarily. It happens most often when going from the large size cursor to the normal size. And it does not seem to occur with the “text entry point” cursor shape (ie. when hovering over selectable text).

Notably, changing the cursor size in System Preferences → Accessibility does not cause the same effect. The screen only flashes black when changing the cursor size through a BTT action.

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

Device information:

  • Type of Mac: 2013 retina MacBook Pro 15.4″
  • macOS version: 10.14.6
  • BetterTouchTool version: 3.346 (1554)