Fixed the color bar to properly change scale when the scale mapping changes.