Having gold in a container will cause this problem, as well. If a character has gold in a container and their inventory, when they trade, all the gold will be transferred to the container. The gold listed is that on other characters (in the PC version, using the mouse and keyboard controls), and using the balance icon transfers the gold from the other character, but it gets placed into the container rather than the trade window.