If on macOS, particularly Mojave or Catalina:
System Preferences>Security>Privacy>Accessibility , unlock the “lock” and add Pencil2D to the list of allowed apps.
We have dev builds for macOS as well, you can always get them on the same download page under the nightly build section I linked before.
A nightly build Is basically a bleeding edge version of the software built from the latest available source code (the instructions that control the program if you will), but while it may contain fixes and new features, it can also contain different bugs.
I’m asking you to test this to see if these steps along the latest version solve your problem, as i’m aware the developers pushed an additional fixed on december to address the blank frames problem when users moved keyframes (but all this problem spawn from the uncomfortably increased permission system on both Windows and macOS).
If this does not help you out however, please let us know so I can report back to the devs and I’ll gladly suggest a list of alternative software you can use in the meantime.