Fixing selection detection bugs in CellRangeDecorator.