fixed bug where the character landed inside the ground