Capturing screenshots on macOS is very slow

Need to do both things below to fix it.

Disable Finder Extensions
1. Go into System Preferences > Extensions
2. In the left sidebar, choose “Finder”
3 Disable everything there include Google Drive Extension

Disable Show Floating Thumbnail
1. Press CMD + SHIFT + 5
2. Click Options
3. Uncheck Show Floating Thumbnail