Removing unnecessary screenshot captures.