Fix problem when global-hl-line-mode turn on/off.