sgienc: add a limit for maximum supported resolution