Good news! There is a mod that fixes this bug:
https://www.nexusmods.com/baldursgate3/mods/998

Thank you for Dapoulp for publishing this fix