I’m aware of the irony of correcting you but I can’t help it. Nebulae not gas giants. Gas giants were known to be planets at the time, as they have apparent motion relative to the Stars. Nebulae and galaxies don’t have apparent motion relitive to the stars.
You just have to look at the problem from a different angle.