Module Builder links pointing to live url when running locally
So we have a live Sitefinity website running and then we have a local copy for devs with a separate database that we develop new features and test on.
I noticed that in the Sitefinity Back End -> Admin -> Module Builder page, that if you go to open any of the modules by clicking the link, it still points to the url of the "production" website, instead of localhost. Please see screenshot attached.
Is this a bug? Or is there some configuration setting that needs to change for this to not happen?
All other back end links all go to localhost like they should.
It's a setting in the back end under advanced -> Site url