Scan2Go

'Scan2Go' is a Japanese-South Korean anime series that ran on the channel SBS between 2010 to 2011 for 52 episodes. Taking place in the future, the series follows young boy Kaz and his friends Myron, Fiona and Diego, members of Team JET, as they play Scan2Go, a big game utilising automated miniature cars and cards to boost them, with Kaz wanting to be the best racer in the universe.

E32: Ghost Racer
Team JET come across a ghost on a spaceship who subjects them with illusions and mind games for fun. It kidnaps Fiona, Diego (a believer in the supernatural) and Myron (who tries to rationalise this scientifically), placing them in inflatable, bouncy, balloon-like spheres. They remain in these as they watch Kaz and the ghost race, and once the spirit is satisfied, they're free of them off-screen.