capture.js flow change, makes clipRect a config param as well as resourcesToIgnore