Describe the bug
When you move up and over the falling block, you die. I think it has to do with the formula used to calculate when the player is moving across the X axis.
To Reproduce
Move up and across the falling block, the player will die.
Expected behavior
The player should not die