Made so the ai doesen't get stuck in a jump with a certain hight and width