fix wkhtmltoimage ignoring --javascript-delay and --window-status
This was due to e02ff7efaf7b617986fc11c08a693e203c64a465, which
attempted to solve #1892. However, this caused a regression as no
corresponding changes were made in wkhtmltoimage.
Fixes #2142