Simply drag lower boundary of the game window and resize it to match the pixels. You should have a text displaying the size of the window on the screen (e.g. 960x540). Unfortunately, you have to do this every single time when you launch the game with custom resolution.