I don't know why, but deleting the old dope sheet and making a new one fixed it.