Continuity mistake: After Ralph destroys the cake and it goes all over the place, we cut to a wide shot. In this shot, to Gene's right, there is a small amount of cake on the floor. In the following shot, the amount of cake has doubled. Also after Ralph destroys the cake Mary is holding the people that were on top of the cake even though Ralph just destroyed them.
Picture added by Casual Person