correct out of depth values behaviour