Two people wearing torch hats making jokes while they wait.
While two people are waiting they are wearing torch hats and making jokes in the house
People who are waiting and joking around need not be in a house--they could be in any number of locations.
(-x)
(-x)