This glitch popped up just today for me, when dyeing armor everything will dye normally and the changes will save just fine, but the moment I hit the button to save changes all of the dyes in the preview window will change to whatever color I had on the dropper as I saved. The dye boxes stay normal and the changes go through correctly, but the preview remains like this until I load into a new map, where it happens again if I try to dye again.