position->offset helper fix. multi-select typing bug fix.