Use a better method of getting rid of HUE_SORT artifacts.