Fixes RNG in which the player would hit slopes in a downhill direction and not gain any horizontal speed.