fixing where palette was showing color for image overlays