added the ability to render below native resolution and upscale