I want to share a somewhat hacky workaround - using a ResizeObserver on the problem button, I was able to effectively force the left position based on the right and the resulting width (reference).
I want to stress that this solution is very inconsistent and less performant than simply using right instead of left, so if there is a way to do so, I'm still on the lookout for answers.