Apps display on the curved edges of the screen for a more immersive experience. If an app isn't displaying properly, you can turn Edge display off for that app.
Next to the app's name, turn it off 

Some app developers don't allow you to turn off Edge display.
To quickly switch Edge display on or off from any screen:

You can also control whether apps display full screen, around the front camera cutout, or avoid the banded area across it.