You just need to get in the habit of clearing the pocket before you shoot. In 1 pocket, players will move balls to their respective side pocket to prevent this from happening. In straight pool, most balls are made in the bottom corners. It’s good practice to clear them out during a rack.