CalDigit TS4 limited functionality if FW powers on with power supply connected

I have the CalDigit TS4 connected to a Framework 16 (running Linux) and if I power on the laptop with the FW USB-C power brick connected, then the dock’s ethernet does not work and there are some weird image artifacts (noticeable in dark grey images), like if the image is being compressed. Also boltctl shows the dock as disconnected. It seems that it connects as USB3 instead of TB.

Disconnecting and reconnecting the USB cable or power cycling the dock fixes it and the dock shows as authorized instead in boltctl.

This does not happen on a Thinkpad laptop, only on the Framework.

My current workaround is having a zigbee power socket that only turns on the FW power supply a few seconds after the laptop is powered on (from the TS4 power).

Any way to fix this?