Are you sure these are the circumstances that reset the spawn? Maybe it’s if you try to sleep in the bed without it being nighttime? or did you unset your other bed? Anything like that? I’m not sure how it happens and wasnt aware of this until today but it sounds like its frustrating.