Email invoice form does not use the local 'To Email' address

when editing the ‘To Email’ the invoice send email form, the mail is only sent to the client mail address from the client record ignoring the typed ‘To Email’ address.
can I fix this by editing some php code?

Best