Fix dye stuff, fixes #243