How to make hairpin dynamic not affect the last note

I want the p<f hairpin to last the whole bar and then the first note on the next bar should be a piano subito but I can’t seem to be able to make Dorico push the hairpin to the left; it always wants to overlap the p.

How can I do this?

Duh, figured it out right after posting. This can’t be done with the mouse which is what I was trying but after selecting the forte you can move it to the left with shift+option+arrows.