Fix bug with setting RangeController#selection to null/undefined.