Hello there!
The configuration is not a problem,
RouterID and ospf protocol RouterID is not the same concept.
If you do not configure ospf routerID, the ospf p***ess will use the system RouterID, only elected to the system RouterID interface IP. If deleted or modified, it will trigger the system RouterID re-election; then resetting ospf will let ospf RouterID update.