Bug fix: local image being deleted after being attached in image message