High CPU usage when a video is playing or paused and move to different desktop



hello everybody nice to join the forum.
I have an issue with Macbook M1 Air Sonoma running kodi 21/20/19 when a video is playing or paused and move to different desktop CPU goes to 80-90% and i can feel laptop getting hot. normally is around 20% when playing, idle is abt 4% tried apple silicon version as well as intel version 19/20/21 different skins nothing worked.