Fullscreen Resolution is Not Correct

Hello, we have an issue with fullscreen resolution. When game is fullscreen, the resolution changes and we can’t interact buttons when we hovered them. But if we’ve change the screenmode to WindowedFullscreen or Windowed, resolution works as it should be. How can we solve this problem?

Here’s the solution I found, could be better but it works for now.