In a stand mixer bowl, mix the melted butter, granulated sugar, light brown sugar, and vanilla extract. Add the egg and peanut butter, whisk until well combined. Then, add the flour, cornstarch, baking soda, baking powder, and salt. Mix on low until just combined.