The glitch happened right after taking the knife, when I left the room and leaned against the skeleton next to the door. I tried to do the glitch again but it didn't happen, it might just have been me haha