Fix image load exception

Fix exception when a bad image was received for an emoticon.