Fix paste image bug due to not checking for undefined
Fix paste image bug due to not checking for undefined

katopz/nullchat,praneybehl/nullchat,coreyaus/nullchat,katopz/nullchat,praneybehl/nullchat,mattfeldman/nullchat,mattfeldman/nullchat,coreyaus/nullchat