Fix for LOD computation