Corrected jumping to only occur when on ground