Probably in harnesses allowing them to lean back that far. They'd use this in "Chroma Key" a media trick, also known as "Green Screen" It's how Neo was made to look like he was dodging bullets in The Matrix.
They film the sequence in Green Screen mode, then place the background behind them, and delete the harnesses. Can't say for certain it's how they did it, but it's what I'd do!