Fixed dropItem bug