Non-monotonic phase transition edges in the spatial prisoners' dilemma