There’s a post here that should guide you:
basically you need to enter the account credit again manually from the client detail screen, specifically denominating it for use against USD invoices. Once you’ve done that just delete the original credit on the bank.