Is there a way to make this corner wall snap correctly?

I’ve tried inching my mouse across the wall I want it to snap onto, but it only results in this.

EDIT: Got a workaround with the Inner Corners that leaves a slight gap, but it’s better than nothing. Is there a way to not have to do that, though?

turn off snapping and do it manually

It still doesn’t work; the result doesn’t improve at all. If anything it gets worse, because half of the wall goes into the straight wall and can’t be placed.