Glass pans retain a lot of heat, which can often lead to overbaking of goods in the oven. It is best to always use metal pans when baking lemon bars.