Issue #3509102: Pass image style to handleDerivative() and avoid fatal error when the image does not exist.
Closes #3509102