Images were captured by the Hubble Space Telescope, which was meant to be observing a different comet