The behavior of whether you can respawn on a respawn archer or are kicked back to the world spawn point is random or inconsistent. Sometimes it works before, but not after you break and place it again. Sometimes it’s the other way around, it doesn’t work but starts working if you break it and place it again.
It looks like the check for whether there is enough space only happens when you place the block, not every time when you use it.
Thank you for helping us improve Minecraft! We saved your files: