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:


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:


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!