Wall and ledge detection now includes the ground