Updated connected component labeling to work with navigation fringe