Added debug message to inventory clicks.