Preheat oven to 350 degrees F (325 if using a glass dish). Line a 9×13” baking dish with parchment paper so it overhangs the long edges. Spray with nonstick cooking spray. In a medium bowl, whisk together the flour, cornstarch, baking powder and salt; set aside. With a handheld or stand mixer fitted with a paddle attachment, cream butter and sugar on medium speed just until fluffy. Add eggs, one at a time, followed by the egg yolk, beating on medium speed just until blended. Beat in vanilla and almond extract just until blended. Add flour mixture to creamed mixture and beat just until combined (don’t overmix!).
Add the batter to the prepared pan and spread into an even layer. Spreading Tip: The batter will be extra thick and sticky so I suggest coating a piece of parchment paper with nonstick spray and laying it on top of the dough (spray side down) and using your hands to spread the dough into an even layer.
Bake for 30-36 minutes or until a toothpick inserted into the center comes out shiny but clean. (Take note that glass dishes can bake more quickly.) The edges should just have a little color and the center should be barely set (it will still look shiny). Let cool completely in the dish.
Once cool, use the parchment paper overhang to remove the bars to a cutting board to frost.