MADS: Fix selecting inventory items when inventory is scrolled