There was an old movie I rented once that was a story about a boy and a girl who end up in another land. I remember them not really knowing each other but then coming together to survive this new world. It had a really weird story line and there was a magic circus, especially at the end. They do something in this magical world and suddenly are back to their regular lives though one of them is on crutches. There is also a scene where they are getting ready for a ball or a preformance of some sort.
Try “The Dust Factory”(2004)
Trailer: https://www.youtube.com/watch?v=1PxdyfgU-XI