Fixed making sure that the map fits on the screen, without showing any black spaces