DistanceToNearestSurface node not working properly

As far as I know, landscapes were added to the global distance field quite a few releases ago. This might be a bug. I can definitely say that it’s breaking the global distance field for me because when I have the showflag for it enabled and a landscape enabled, it all turns black. If the landscape is hidden, it all functions properly again.