pub fn normalize_selection( document: &CanvasDocument, selection: &CanvasSelection, ) -> CanvasSelection