Hey, I had the same problem when using Action with Minecraft on Windows 10!

It turns out that the cause is not only from the software but also related to the graphics card driver or compatibility settings.
Everyone try:

Run Action in Administrator mode.

Update or rollback the GPU driver.

Turn off Hardware Acceleration if available.

Or try using Game Recording mode instead of Screen Recording.
Has anyone tried a more effective way? Share it for everyone to refer to!