What are you using to play back the recordings? The gray areas in that screenshot aren't part of the OBS recording, they are just empty space for you to move things around in case you need to move it outside the main canvas area. If you're playing back the video on a strictly 16:9 player, though, you'll get "black bars" on the sides because you're not recording at a 16:9 resolution.