I fixed mine a couple weeks ago. Used to happen every time and now only very rarely.
What I did was loosen the wireframe screws, pushed the wireframe back as far as I could towards the backbox, then tightened it all down. This makes the ball catch the metal ring a bit when entering the gun and slows it down enough to not go spilling right out.
Give it a shot! Like I said, works for me MOST of the time. I read some other solutions that involved putting things inside the gun... but I didn't want to go that route.