It should go to the item owner
Also, both the item and the money should be transfered to safetrade.
I don.t know exactly how it shoud behave if you cancel your bid but your offer is not the best at that moment.
Like canceling your bid while being the second in the offer stack