fix highlight offset in scroll mode