Moving the spine of ax4 more outwards should result in the desired effect:
ax4.spines["right"].set_position(("axes", 1.2))