Remove the delay when taking a screenshot.

Forked from MohammadAG's Screenshot Delay Remover and add MM supported.