Monthly targets with bi-monthly paycheck

I’ve been using YNAB for about two months and love it. My question is how to set up monthly targets when I get paid on the 15th and last day of the month.

For instance, if my goal is to spend $400 a month on groceries, I will assign $200 on both paydays. However, that means that the category is technically underfunded for the first half of the month, even though I’m on track.

Is there a better way to set up this target so that it doesn’t look underfunded? Appreciate any advice.