How do I make the main camera full screen in portrait mode?

I set up my camera so it looks the way I want in the “Game” tab. It looks like this:

111963-screen-shot-2018-02-25-at-55739-pm.png

I’m making a Tetris clone. The main game camera should make it full screen. But when I hit “Play” and go to the “Game” tab with “iPhone 5 Tall” selected as the aspect ratio, it looks like this:

111964-screen-shot-2018-02-25-at-55654-pm.png

Why does the camera suddenly get so wide? How can I make it so that it looks like the preview?

It turns out I had a C# script attached to my camera that I failed to notice. I removed the script and it works!