Like in Season 20s "Homer Knows Worst": scence goes sth like this:
Homer: (after making Lisa popular and Bart smart) I'm the best father to my two kids!
(Camera pans out to show Maggie next to him on the sandbox)
Homer: Oh hi little girl! Who's your daddy? Who 's your daddy?