avoid direct read height and width from CGRect data structure