Detach img node from body when image load failed. #687