I test this in my lab and the result is the same as yours. The video will be closed when user shares screen. A workaround for this is to re-enable the video.
Currently, there is no such problem listed in Microsoft Teams known issue. We will do more research and any update I will share with you here as soon as possible. Thanks for your patience and understanding.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.