Text is cropped in bottom

I have a problem with text cropping in the bottom. If you look closely in the attached screenshot you can see that the bottom is not rendered correctly in prototype mode. Sometimes it works when there is a second text object close to it but when you delete the second item the first goes back to being cropped. The problem is the same with different fonts. Any ideas how to fix this?

CleanShot 2023-11-28 at 17.06.43@2x

What is the line height? Is it inside a frame? Rn is hard to say really

It does not matter what line-height I use and I have tested inside a frame, group and auto-layout. All the same.