Modify FinishSelection to avoid code duplication (in RedrawLayerPreview)