On ZenFone 6, this was patched with a software update.
https://zentalk.asus.com/en/discussion/13500/help-zenfone-6-2019-cant-take-screenshotCan you verify that you are on the latest firmware, and then restart your phone to check for any improvement? If it doesn't resolve, then please wait for the Android 10 patch. If you still see it after 10, then let's revisit this issue and log your phone at that time.