Bugfix for selected empty slots in inventory