Fix shaderCullDistance limit checks