So I got a solution proposal to fix the tricky issue. I thought of this during the beginning of the implementation but, due to reasons of moving fast, iterate later, I decided to drop it. Anyways, I created a feature request to implement it later. It should do the job. Meanwhile, I'm going to open a feature request to the library maintainers to fix it there.
Changes are merged. Yay. Code works as expected (mostly).
I started the next issue. Seems it's going to be interesting. Will probably take me the whole sprint. Got some prerequisites done.
And now, relax time.