Looking at the code, I do not see anything out of the ordinary that would be causing this behavior, which makes me think something in how the scene is setup is causing the issue.
Can you jump when the player is frozen in the air? If so, maybe the collision shape for the player is too big or positioned incorrectly in relation to the player sprite. Ideally you want your sprites and their collision shapes to occupy the same space, or as close as possible.
Another thing to check would be to see if the platform has it's collision shapes correctly positioned. Looking at the picture, it looks like it is a Tileset. In that case, I would check to see if the tiles collision shapes are positioned correctly.
You can make collision shapes visible while the game is running by selecting "Visible Collision Shapes" under the "Debug" menu.
Hopefully this helps! :smile: