Temperamental stars could be ruining our view of thousands of exoplanets, Hubble Telescope finds