events.js: Item dropping improvements

Item drop menu no longer disappears after clicking to drop something.
Merge pull request #39 from toofarapart/improved_item_dropping

events.js: Item dropping improvements