Fix palette-highlight scrolling bug