Fixed setting image attributes after drop

Uncaught ReferenceError: that is not defined