The center spring is disabled on the wheel when you tab away or close a force feedback compatible game. However, it will be reactivated when you resume the game or make changes to the device slider values in Logitech G HUB.
As of June 2023, there is an issue for titles that do not support force feedback which results in zero centering spring force on the wheel. This is being investigated.