It's intended! You can use Z to control how high you want to jump, whether you are in the air or on the ground. :)
oh!