If item 1 is selected and uses on item 2, it will deselect item 1. The rest of the inventory should be fine. This isn't necessarily a bug but most likely due tog lag/proxies on your part. You could write your own drop method to deselect midway though. But if you think about it, every once in a while this would happen to a human as well