Allows the resolution to be set to -1, to maintain aspect ratio.