I tried the game again, and I was somehow able to reproduce it. I entered the room by repeatedly pressing W with a slight delay of about half a second. I noticed that the green dot would stay closer to the door, and then I could enter the room by pressing W again.
