Fixed crash when dragging inventory item (https://twitter.com/evilbachus/statuses/321892420369403904)