Rather than depositing items picked up while piloting ships into the player inventory, the game should place them into an empty storage bin connected to the ship. Not sure how simple it would be to implement this, but I could recommend having a separate tab in the quick menu for ship inventory (which shows all items placed in storage containers)