Fix screen default rowspan and colspan, remove array_flag method