Add default resolution to avoid the reopen/close.