0031412: Visualization - entity behind is returned as topmost at the edges