Match the display item with their closest layer