Bugfix for Transferamount not setting correctly when userinput is larger than available resource.