Inventory Drop and Pickup (NVM)

I already had a discussion for this, but I figured I could simplify the problem a little bit more clear. In my game, Im trying to make a Minecraft Like hotbar for the inventory. But when I drop an item that is in the 2nd-8th slots it won’t disappear. I know its a bug cause its all exactly like the first slot, but it won’t read when I click on it for some reason. Sometimes I right click it and It thinks I left clicked on it. Could someone please help explain if I got something wrong with it or its just a bug.

Game link: https://flowlab.io/game/play/1359835

@GGSTUDIOS not entirely sure why you brought this post back to the top, but I guess that it’s partially my fault for not labeling it as done.