fix for crash bug clicking the window with item picked up but not
actually clicking a valid slot