Fix exception when selection is bigger than visible region

If there is a region in the selection that is currently visible but is
larger than the visible region, an exception is thrown when trying
to normalize selections. This commit changes
findFirstVisibleRegionIndex to use the Region.intersects method to
accurately determine what the first visible region is.