Fixed color palette bug while scrolling.