Fix links and images that had the wrong target