The variable was reset at the beginning of the level, which is somewhat unintuitive
Fixed it, I reset the variable when the gift starts falling, now it should work better
Thanks for pointing out the bug 🎅