fix: wrong highlighting when just switched buffer