Modified distances as they were messing up the depth testing