Tapping full screen button in YouTube not working properly sometimes

Description of the issue:

While watching videos in YouTube. Sometimes while tapping the full screen button, the video is not stretching to full screen. Rather it’s getting stuck to a corner of the screen (shown in image). Though it’s not happening every time, it’s frequent.

How can this issue be reproduced?

  1. Open https://m.youtube.com/
  2. Select any video and play it.
  3. Then tap the ful screen button on the down-right corner.
  4. You’ll see the video is shrinked to the a corner of the screen. While the rest of the screen is black.
  5. Rotating the phone 180° may solve it for that specific video.

Expected result:

The video should be stretched completely over the screen.

Brave Version( check About Brave):

Brave - Beta 1.74.36, Chromium 132.0.6834.57

Mobile Device details

Brand/model: Samsung M32
Android version: 13
One UI version: 5.1

Additional Information:

Rotating phone 180° may temporary solve the problem.

GitHub issue link: https://github.com/brave/brave-browser/issues/43067