Hopefully fix palette-scrolling bug