I believe it's a security and battery saving feature.
It should ideally be staying ON with streaming apps like YouTube, etc.
It's fine as long as the screen is being interacted with via touch or moving images. Otherwise, it could cause burn in.
It's just a thought, only a thought.
Follow Me, like my posts and Mark as Solution if I helped solve your Problems.