I'm Germany tax resident. Should not be paying taxes on German income bcs of the treaty. when I enter Foreign income refund drops from 4462$ to 561$. Anybody know why?

It's like the system is double taxing me, has anybody had this glitch? Does it get fixed when it gets to Revenue Canada?