Updated min w and h