Fix variable names when returning a newly-generated dyed item image