In The Prisoner of Azkaban, after the events in the Shrieking Shack, Harry, Ron and Hermione are in the hospital wing. Dumbledore suggests they (Hermione & Harry) use the Time Turner to save more than one innocent, and leaves them. Hermione throws the chain around her and Harry's necks, turns the hourglass, and they arrive, three hours earlier... in the entrance hall.
I know there's not much information about how Time-Turners work, but I thought they only made you travel into time, not into space. Why did they arrive in the entrance hall and not where they were standing, in the hospital wing?
Furthermore, if there is in fact a space-travelling part in this, why the entrance hall? Was it Hermione's choice (it's not implied, and next to Hagrid's might have been a better choice)? Was it the Time-Turner's choice? Something else?
The quote is quite long, I just included a part of the beginning of the chapter showing they were in the hospital wing, then the part where they use the Time-Turner:
"For heaven's sake!" said Madam Pomfrey hysterically. "Is this a hospital wing or not? Headmaster, I must insist --"
[...]
"Here --"
She had thrown the chain around his neck too.
"Ready?" she said breathlessly.
"What are we doing?" Harry said, completely lost.
Hermione turned the hourglass over three times.
The dark ward dissolved. Harry had the sensation that he was flying very fast, backward. A blur of colors and shapes rushed past him, his ears were pounding, he tried to yell but couldn't hear his own voice --
And then he felt solid ground beneath his feet, and everything came into focus again --
He was standing next to Hermione in the deserted entrance hall and a stream of golden sunlight was falling across the paved floor from the open front doors.
(Prisoner of Azkaban, Chapter 21, Hermione's secret - emphasis mine)