I opted to give the player a jet pack. It's a space game, and I was considering that anyway. So the player does not have to be standing on the ground to jump anymore, and it solved the problem.