Color index resets when chain is cleared