Screen brightness control broken after updating to MacOS Sequoia

it works after locking and unlocking screen