WireGuard Multi-WAN Policy Routing

Hello.
I’ve tried this. But this does not work correctly. While the packet is sent to correct gateway, the IP address is the one that is listed as first in ip addresses.
Setting pref-source on route does not change the src ip address.