Screenshot in loop only runs once

Describe the bug
I created the following keyboard action (for Safari)

image

The keyboard press right works as many times as given in the loop, however the screenshot is only done once.

Device information:

  • Type of Mac: MacBook Pro M1
  • macOS version: 12.7.3.
  • BetterTouchTool version: btt_data_store.version_4_375_build_43750