Bail out early if the call to setImage is redundant