Place it right after the blunder, then follow with a shocked gasp to mark the failed attempt before the scene moves on, and save a goofy yell for the follow-up gag when the group is already laughing.