Only acquire an image if you aren't avoiding a wall.