Fixes #1334: Only unequip item if the sell/drag action is actually successful