Why shouldn't it? I find this "bug" quite convenient, especially for potion, ring, and scroll shops, and in the casino. If you don't want to pick up shop items you can toggle autopickup off.
I second Grond's view. I used to pick up all the stuff in the shop, move to one corner, make sure I identified all I could and afterwards I prefer picking items I'd like to buy from that pile as all of them are in one list. When I'm not in a hurry of course...
Having to do this without autopickup would be hell of a nightmare of keypresses...