Cars turning right across another lane of traffic (the bike lane) is the problem. It's just a very accident-prone way to arrange the lanes.
The reality is in America drivers are not accustomed to bikes passing them on the right when they are turning right. It certainly wasn't part of anything I learned in driver's training (though that was quite a while ago). I honestly could not tell you who has the right of way in that situation. Might vary by state.
So if you're cycling in America and you don't want to get hit, pay close attention to the cars on your left at crossings. Assume they don't see you. In fact as a general rule, assume the cars don't see you.
That's the main reason I rarely cycle in traffic. Too risky, and right-of-way or not, if a car hits a bike, the bike loses.