Head Shots
If you have an extended style ejector, feel along the top edge for a burr or flange. If it's there, dress it down lightly and see if that makes a difference. Sometimes it does.
Radiusing the extractor hook on the bottom corner can help, along with lightly breaking the top corner. The ejector itself can be reshaped a little to change the angle of release. Sometimes something as simple as a little more tension on the extractor can make a big difference. All my range beaters' extractors had taken a set with the well-used lot of brass that I've been using for the last two years. When I switched to a new lot of once-fired brass, ejection became a little erratic, tossing the occasional case straight up...back...even forward. I reset the tension on all the extractors to match the rim diameters of the new lot, and they now pile the brass up 3-4 feet to the right again. Try setting the tension before modifying anything, unless a burr is noticed on top of the ejector.
What is happening is that the brass is being released into the path of the slide in recoil, and getting batted straight back. This can happen if the brass releases at 12 O'Clock or at 3 O'Clock...but it normally happens with a low release. The case bounces off the lower port wall and up...and the slide strikes it. Look for brass smears around the port to evaluate it and determine which it is.