Well then refs should have sweat sense. What's more disruptive, intervening or unresolvable conflict?I think it is a really bad idea for the referee to start any such conversation. The player might not realize that there is any problem and now the ref jumps up and says ...
The cueball winding up on the head rail has zero to do with the rack. The cueball is 1/15th of the weight of the rack and winds up there quite frequently regardless of how the balls are racked. Being "pinned" with few options is just random chance.