Several reasons could be behind this: not baking it long enough, not cooling it properly, or not chilling it enough. For the perfect firmness, make sure you bake, cool, and chill it as directed.