Rare positives sink precision while the ROC point stays put.
Positives
A threshold on a score trades missed positives against false alarms, and the ROC curve traces every such trade. Amber is the positive class and blue the negative, each curve scaled by how many cases it holds; solid fill is what the threshold flags. Make positives rare and precision collapses while the ROC point does not move.