reyokh based on what you shared, it failed to sed those values when adding a domain. A few days ago there was an issue with ip.openpanel.com, which could explain it. If you added a domain at that time, it may have failed to get your public IP address and therefore didn’t perform the replacement.
However, if the issue still happens for domains that you add now, then it is indeed an OpenPanel bug. But I cant reproduce this on my server.
Can you try adding another domain, lets say somedomain.com now?
Check whether its file shows the correct ports.
If it works now, you probably just added the previous domain during the time when the IP service had issues. In that case, nothing is really broken now-it should be working normally again.