Restored max image size dimension