bounds check inventory slot on inventory click event to escape the event early on if they aren't even using the inventory