square can now only jump if it collided with something.
Need to make sure, the square is on the ground and the collision did not happen above it.