I can probably agree with the fact that it is to do with your range to the door. I didn’t get it consistantly until I pressed myself up against the door, I also dropped the scrap sword when I kept it which was weird (probably because it wasn’t on my back I was holding it).
I’ll do more testing to see if I can get a consistant method.