Fixed usage of intermediate caching when using new arguments on original source image